D
D
Darklt2021-04-05 22:48:47
1C-Bitrix
Darklt, 2021-04-05 22:48:47

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 question

Ask a Question

731 491 924 answers to any question