Filter by variant attributes
-
Hello!
I have a tire store, with one listing per tire model.
Each model has its variants, made up of the attributes width, height, and diameter.
When I filter, the input fields are updated based on the general attributes of the product (for example, if I filter by 300 width, it shows me height options that are actually from another variant).
How can I make the filters look for matches in the attributes by variants and not by products?PS: Then, when displaying the results, it effectively shows in case of matching variants. For this reason, many of the results end up being empty, since it filtered by general attributes but when displaying the results it does not find variants that meet the requirements.
Example: I put 31 width. The height options are updated, among which 8 different options appear. Indeed, there is a tire that has both measurements, but not combined. When selecting a height measurement, the response is empty (unless you have just entered the variant that does match).
The page I need help with: [log in to see the link]
The topic ‘Filter by variant attributes’ is closed to new replies.