Answer the question
In order to leave comments, you need to log in
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
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/
The content of the letter needs to be changed not in the component, but in the letter template of the SALE_NEW_ORDER event
.
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 questionAsk a Question
731 491 924 answers to any question