S
S
Sergey Sergeevich2016-03-30 19:43:42
PHP
Sergey Sergeevich, 2016-03-30 19:43:42

Add a button to leave a request in Bitrix?

Hello.
Tell me please. Is there a description somewhere on how you can add a button (leave a request)
in an element of a complex catalog component? As far as I understand, you need to copy the component with handles,
go to the component's folder, saw the element.php file there and write the + ajax button with your hands?
Or are there easier ways?
Who knows, tell me how or where to dig.
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2016-03-30
@CSSnewbie

If the edition allows - use Web forms.
Yes, you can insert the call code of the Web Form component directly into element.php of the Catalog complex component. In the catalog item template, display the button to display the web form. Ajax in a web form can be enabled by writing "AJAX_MODE" => "Y"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question