A
A
Abram3332021-12-08 15:22:01
1C-Bitrix
Abram333, 2021-12-08 15:22:01

Where is the letter filled in the sale.order.ajax component?

Good day!
There is a sale.order.ajax component, it is standard. After placing an order, he sends an email. You need to change the content of the email. Can you please tell me where he fills out the letter to be sent? Looked in class.php found nothing.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
PetrPo, 2021-12-08
@PetrPo

When editing a mail template in the "visual editor" mode, there is a panel with components on the right, instead of #ORDER_LIST#, you can insert
Store -> Personal section -> Order details for mail
bitrix:sale.personal.order.detail.mail
You can connect your own component template, should be placed in the site template .default
/bitrix/templates/.default/components/bitrix/
or
/local/templates/.default/components/bitrix/

N
no_one_safe, 2021-12-08
@no_one_safe

The content of the letter needs to be changed not in the component, but in the letter template of the SALE_NEW_ORDER event
.

A
Alexander, 2021-12-08
@AlexanderKs3

You have an interesting approach to the task : )
In Bitrix, mail (and sms) notifications are stored in templates, and each site can have its own template (in the admin panel, Settings - Product settings - Mail and SMS events - Mail templates /bitrix/admin/message_admin .php).
You need to find the template and edit it. The store has a mail event type with the SALE_ prefix

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question