D
D
Darklt2021-04-19 20:25:19
1C-Bitrix
Darklt, 2021-04-19 20:25:19

How to write the total amount rule in bitrix.sale.ajax?

How to grab the totalValue in the new bitrix.sale.ajax component and set the condition? For example, if the amount is more than 30,000 rubles, then display the inscription ? This is so that the rules of the basket for discounts are prescribed, but in the final Savings it is not clear what for.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
PetrPo, 2021-04-21
@Darklt

Well, there is also the editTotalBlock function, everything is written in it, see this.result.TOTAL

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question