Answer the question
In order to leave comments, you need to log in
How to display a product image in the contact form on Bitrix?
On Bitrix there is a feedback form "Buy in 1 click". Made through the infoblock.
I added the "String" property "NEED_PRODUCT", and added it in the template.
By analogy, I did the same for displaying the announcement image:data-autoload-need_product="<?=$arItem['NAME']?>"
data-autoload-need_product_img="<?=$arItem['PREVIEW_PICTURE']['SRC']?>"
data-autoload-need_product_img="<?=$arItem['PREVIEW_PICTURE']?>"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question