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.
Please give me a better solution to fetch the product collection with filter attribute.