D
D
Dmitry Grabko2017-06-07 14:39:45
1C-Bitrix
Dmitry Grabko, 2017-06-07 14:39:45

How to add a discount value to a mail template?

Colleagues, hello! I need your help.
After the order, the parameters come through the standard mail template.
The discount is implemented through the rules for working with the basket. Standard email template components and available fields do not contain the "Discount" property, which is taken from the cart rules.
So far I have found only an array that contains the discount value: DISCOUNT_PRICE_ALL
But how to pass it to the mail template?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DeclanBartowski, 2017-06-07
@DeclanBartowski

put the value in arFields into the event before sending the letter and display it in the template

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question