Categories
CMS Magento Mastering Development

Filter custom attribute in product collection

I have created a custom attribute with name product_deisgn_proof.
I want to filter this attribute using product collection in custom template file. When I try to fetch collection of product in an array it gives product_design_proof undefined index.
Here is the code I am using to filter the attribute in product collection.
enter image description here

Please give me a better solution to fetch the product collection with filter attribute.

Leave a Reply

Your email address will not be published. Required fields are marked *