U
U
user-agent2021-03-03 23:04:58
Django
user-agent, 2021-03-03 23:04:58

How to implement product parameters in Django?

You need to make the parameters of the goods (for each product they are different). For example, screen diagonal or color, etc. When adding a product to the cart, the user selects the desired color from the existing ones for this product. The product is added to the cart, where the selected product parameters are displayed.
What is the best way to implement this?

What is better to use? Maybe eav, JSONB or JSONField? And where can I find the documentation package?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2021-03-04
@user-agent

HStoreField

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question