How to filter product list by custom attribute on category page of Magento?
问题 I made 3 tabs on category page, which are All Products, Online Products and Store Only Products. All products display all products under this category. I use {{block type="catalog/product_list" template="catalog/product/list.phtml"}} to do the job. Online Products will display custom attribute (product_type) equals "Online Product" Store Only Products will display custom attribute (product_type) equals "Store Only Product" How can I create a block to display Online Products and Store Only