摘要: addAttributeToFilter is a function that can be called on a product collection in Magento. In short, it adds a condition to the WHERE part of the MySQL query used to extract a product collection from the database.?1234$_products = Mage::getModel('catalog/product')->getCollection()->addA 阅读全文
posted @ 2012-09-11 10:20 hust_zk 阅读(396) 评论(0) 推荐(0) 编辑