Answer the question
In order to leave comments, you need to log in
How to display a specific property of a trade offer in Bitrix?
I have goods. All products have properties that change when options are selected . Above the heading, the article of the first trade offer is displayed, which does not change when an option is selected. How can this be fixed?
The article above the title is displayed using the following code:
<div class="pr-articul product-edit-art">Арт. <?=$actualItem['PROPERTIES']['ARTICUL']['VALUE'];?></div>
Answer the question
In order to leave comments, you need to log in
Issue resolved. Added the articul-pr-block-info class for the function of displaying a list with articles here:
Then I went to the scripts and added the following:
Well, accordingly, in the template itself, I added a span with the appropriate class, in which the text will be replaced
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question