You are here:  » Sidebar Filters (dropdown)

Support Forum



Sidebar Filters (dropdown)

Submitted by MikeyC on Sat, 2012-12-01 10:57 in

David,

I added two additional product fields, and I also added these to the dropdown Sidebar Filter.
Somehow, when i select a merchant the underneath options still select all the fields from other merchants to search for, ending up with blank pages when clicking the button.
How do i set this up so the lists change to only those selections available for a particular merchant ?

Submitted by support on Sat, 2012-12-01 11:46

Hi Mikey,

In your sidebar filter code, look for the line that constructs the $sql that populates each drop down and within each instance I think you will find:

".$where."

...REPLACE with:

".$where.$priceWhere."

...and that will ensure that currently applied filters are taken into consideration so that only options available will be selected...

Cheers,
David.
--
PriceTapestry.com