A
A
Alexander Ermolaev2020-05-29 12:09:00
Django
Alexander Ermolaev, 2020-05-29 12:09:00

How to configure Djano-oscar to filter products by attributes?

Understanding django-oscar.
I have products of different classes (ProductClass) in my catalog, for example.
Clothes, with attributes: Size, Gender
Books, with attributes: Author, Genre

ProductCategory is the same as ProductClass, i.e.

there are also two categories - Clothes, Books I select the Clothing category, and in the filter I see:

Sizes:
- S
- M
- L
- XL

Gender:
- male
- female

Now I see ALL values ​​​​of ALL attributes in the filter.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question