脚本宝典收集整理的这篇文章主要介绍了php – Magento Community 1.7.0.2 – 导出产品CSV,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
@H_301_8@
@H_301_8@
Notice: Undefined index: in /app/code/core/Mage/Importexport/Model/Export/EntITy/PRoduct.PHP on line 539' in /app/code/core/Mage/Core/functions.PHP:245
@H_301_8@
/** * Update data row with information about categories. Return true,if data row was updated * * @param array $da@R_299_2301@w * @param array $rowCategories * @param int $productId * @return bool */ protected function _updateDataWithCategoryColumns(&$da@R_299_2301@w,&$rowCategories,$productId) { if (!isset($rowCategories[$productId])) { return false; } $categoryId = array_shift($rowCategories[$productId]); $da@R_299_2301@w[self::COL_ROOT_CATEGORY] = $this->_rootCategories[$categoryId]; if (isset($this->_categories[$categoryId])) { $da@R_299_2301@w[self::COL_CATEGORY] = $this->_categories[$categoryId]; } return true; }
对于某些原因,$categoryId没有设置为$rowCategories不是数组.@H_301_8@
我刚刚重新运行了索引管理,但在我看来,类似于类别或类似的东西.我知道快速修复是在继续之前检查$categoryId是否已设置,但我想首先知道是什么导致了错误.@H_301_8@
以上是脚本宝典为你收集整理的php – Magento Community 1.7.0.2 – 导出产品CSV全部内容,希望文章能够帮你解决php – Magento Community 1.7.0.2 – 导出产品CSV所遇到的问题。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。