$products= Mage::getModel('catalog/category')->load($category_id)
->getProductCollection()
->addAttributeToSelect('*')
->addAttributeToFilter('status', 1)
->addAttributeToFilter('visibility', 4);
利用此脚本,,其实可以自己写一个导出脚本,,方便管理产品,,,如下,,导出指定分类下的,目录id和sku
<?php
header("Content-Type: text/csv"); header("Content-Disposition: attachment; filename=catagory.csv");//filename是导出的文件名 header('Cache-Control:must-revalidate,post-check=0,pre-check=0'); header('Expires:0'); header('Pragma:public');
require_once('app/Mage.php');
echo "sku,category_ids\r\n"; (责任编辑:好模板) |


蓝色包包外贸英文ecshop模
人气:641
shopex红色综合批发商城
人气:642
ecshop考拉海购2016跨境电商
人气:1302
ecshop仿易迅51buy模板|ecsh
人气:4292
ecshop仿小米带微信商城手
人气:385
化妆品模板 ecshop化妆品网
人气:504