M
M
Michael2017-02-17 17:05:34
1C-Bitrix
Michael, 2017-02-17 17:05:34

How to display the page address in Bitrix?

Hello.
There is a feedback form on the product pages. The form is implemented through Bitrix web forms.
You need to add two fields in which the page address and the product name (or page name) will be automatically displayed. So that when sending a request to the site administrator it is clear from the page of which product the request was sent.
Thanks for any help.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Burlaka, 2017-02-17
@AlexeyGfi

When receiving a request to track
$_SERVER[ 'HTTP_REFERER' ] (== address)
Determine the product by url.

S
Sergey, 2017-02-17
@gangstarcj

You cannot add custom fields in the standard feedback form. Use web forms. Add fields to them, make them hidden and write the current one in the template there

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question