A
A
anriko2020-01-20 11:52:17
1C-Bitrix
anriko, 2020-01-20 11:52:17

How to send data in an order letter in 1s-Bitrix without placing an order?

I have a one-page landing on the site, there is a product displayed through bitrix:catalog.section
5e2568f92fc06616061341.png
there is a form, how to use it to send a letter to the client with data about the product
5e25695737baf386276083.png
here is a letter template5e256a1488a77303291443.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton, 2020-01-20
@anriko

Save the form content as an infoblock element, where one of the properties is a mailbox.
https://dev.1c-bitrix.ru/api_help/iblock/classes/c...
Next, create a mail html template https: //dev.1c-bitrix.ru/learning/course/
?COURSE_I...
init.php catch the event "adding an element to the infoblock", collect the element's data and pass it to the mail template - and send it)
https://dev.1c-bitrix.ru/api_help/iblock/events/in...

spoiler
Заказ без оформления заказа это не заказ)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question