Answer the question
In order to leave comments, you need to log in
Is it possible to filter products by discounts and gifts?
Good afternoon. Tell me who knows whether it is possible to filter products by promotions and gifts put down through the rules for working with the basket?
There is an option to simply enter the properties of the product and affix them to the necessary products, but then there is a problem that if the promotion has passed, then you need to manually change the properties of the product, but I would like it to be automatic somehow.
Answer the question
In order to leave comments, you need to log in
If you work through ORM, purely theoretically, you can set an additional field from the discount entity through runtime and filter by it.
To be honest, I don’t know if there are ready-made entities for discounts in the box, but if not, then you can create one.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question