-- HikaShop version -- : 2.3.2
-- Joomla version -- : 3.3.6
Hi,
I have a huge list of filters... each filter uses a custom field that is defined as a radio button. When I display a list of products for a category, I would like to hide the filters that do not pertain to the list of products being displayed... so the filter would be hidden/displayed dynamically based on the products..
For example, if I have a filter called SIZE and it is based on a custom field that could have various values (S, M, L) but all my products for a give category are only available in SIZE=L, then there is no reason for me to display the SIZE filter for the product list. How best can I show/hide the filter based on the product list being displayed?
I need the show/hide of the filter to be dynamic, so for example if I have two filters, say SIZE and COLOR, and all my SIZE=L products are only available in COLOR=RED, then if I select SIZE=L, I would want all my large products to be displayed, and I would like my COLOR filter to go away.
If I then change the size filter and select both SIZE=L and SIZE=M to show large and medium products, and my medium products are available in different colors, then I would like the COLOR filter to appear... due to the fact that the products being displayed have at least two different values in the COLOR value.
How can I create a "dynamic" filter as described above? Any help is greatly appreciated. I am using the filter module.
Thanks,
Dennis