Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

How to add custom filter to the existing ones? 
 
rlogozzo
Jr. Member
 
Total Posts:  2
Joined:  2013-04-04
 

Dear all, I’m really new on Magento and I’ve to implement a custom filter on numeric value that involves more than one attribute. In other words, if a product have attributes A and B, I need to add filter on something like (A + arg1)*(B+arg2)<arg3, where arg1, arg2 and arg3 are input numeric values. I found the addExpressionAttributeToSelect to apply the selection to the product collection but I’m not able to retrieve and take into account the already applied filters, e.g. the selected attributes in the Shop By section, returning the complete filtered product list.
I’m using Magento 1.7.0.2 CE.
Can someone help me?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top