category visible ,status enable in product collection

piaoling  2011-11-01 10:54:24

Mage::getSingleton('catalog/product_status')->addVisibleFilterToCollection($collection);
Mage::getSingleton('catalog/product_visibility')->addVisibleInCatalogFilterToCollection($collection);

类别 :  magento(258)  |  浏览(3519)  |  评论(0)
发表评论(评论将通过邮件发给作者):

Email: