Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question