View Single Post
  #10  
Old 11-28-2014, 03:41 AM
 
JannieB JannieB is offline
 

Senior Member
  
Join Date: Sep 2004
Posts: 117
 

Default Re: Product Filters - only show values for products in current category

Thank you for this ..... I am just wondering where I should put it?

maybe in XLite\Module\XC\ProductFilter\View\Filter\Attribut eList, or at a lower level in \XLite\Module\XC\ProductFilter\View\FormField\Sele ct\Attribute (decorated versions obviously).

Also, while I can get the option id, I'm not sure how to pass the category id through.... it exists as part of the Filter class, but when I've tried to access it at a lower level I get an error ...

....

Thanks in advance ....

Jan

PS. I think this should be aprt of the core Product Filter functionality as otherwise it's not really filtering what's on the page .... if I come up with a solution (with your help!) I will publish it here for others to use..
__________________
Jan Beesley
(Currently Xcart 5
Previously XCart Gold from 3.5....)
Reply With Quote