Answer the question
In order to leave comments, you need to log in
How to display the condition of the cart rules in order.ajax?
How to display discount conditions in checkout?
For example, there is a rule when buying from 5000r. this is the rule with ID=1.
For Delivery and for payment methods, I deduced in this way, but how can I not understand the rules of the basket?
if (5 == deliveryId) {
this.totalInfoBlockNode.appendChild(this.createTotalUnit('Скидка за Бесплатная доставка', '5%', params));
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question