View Single Post
  #4  
Old 11-17-2014, 05:08 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

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

I see. In this case, there is indeed a mod needed.

The method that returns widgets of product attributes is getAttributesList() in the \XLite\Module\XC\ProductFilter\View\Filter\AFilter \AttributeList class. You need to decorate this one, or better prepareAttributesList() that prepares widgets to display. In this method you will be able to sort attributes so that it displays only meaningful options.

Please, let me know if it helps.
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote