N
N
narnik2017-03-18 14:35:33
Django
narnik, 2017-03-18 14:35:33

Django Oscar, how can an AttributeOptionGroup hold multiple AttributeOptions?

Hello.
More recently, I began to deal with Django Oscar and have not yet had time to deal with its functionality.
It would be desirable to achieve the set task without rewriting the models.
The task is next.
The product has an AttributeOptionGroup, in my case it is Size and Color, this model has an inherited AttributeOption model, where for Size it is XS, S, M, L etc, and the corresponding ones for Color.
However, it turns out that the product inherits only one option from the group, that is, it can be either M or S, or Blue, or Red.
My task is to show that the product has a range of colors and a range of sizes.
I'm sure someone has run into this problem and already solved it.
And one more question in the load :)
How to use the command for everything oscar_import_catalogue?
Thanks in advance.
Sorry for the stupid question.

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