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.
|