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);
发表评论(评论将通过邮件发给作者):