Answer the question
In order to leave comments, you need to log in
What is the correct name for the fields with the client's phone number and address to indicate them in the Bitrix email template?
There is a mail template:
"Information message of the site #SITE_NAME#
--------------------------------------- ---
Your application for registration has been accepted.Our managers will contact you by phone to confirm the information specified during registration.Until then, you will not be able to see prices and photos in our catalog
Login: #LOGIN#
Surname: #LAST_NAME# First
name: # NAME#
Middle name: #SECOND_NAME#
Full name of the organization: #WORK_COMPANY#
INN: #UF_USER_INN#"
I want to add additional fields with the client's phone number and address to the mail template (highlighted on the screenshot)
How to write them down correctly using a macro?
Answer the question
In order to leave comments, you need to log in
You need to work with the event https://dev.1c-bitrix.ru/api_help/main/events/index.php
"Events when working with users and authorization".
Write your own event handler in which you receive the data you need, process it and send it to your macro, which will then become available in the mail template
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question