Hello to all. Please tell me how to add properties to the basket, for example: I want to write in advance the text ACTION + GIFT, usually in the catalog.element there were no problems with this, I did it using this code

<?if($arResult['PROPERTIES']['ACTION_GIFT']['VALUE']){ ?> Тут текст <?}?>' 

I read the outdated manual 2011, there are a lot of actions there, I have the 2015 Beatrix. I think until that time they made some corrections on this component of basket.basket. Thank you in advance.

    1 answer 1

    Found a solution to this problem, it was necessary through var_dump ($ arItem) to check the data of the variable $ arItem

      <?if($arItem['PROPERTY_ACTION_CHECKBOX_VALUE'] == "Y"){?> <div>АКЦИОННЫЙ ТОВАР <span>+ ПОДАРОК</span></div> <?}?> 

    This code works like this: If this product is included in the promotion, then show the inscription.

    The properties that I added in the ACTION_CHECKBOX information block

    Before this automat adds the inscription PROPERTY_ NAMES OF YOUR PROPERTY _VALUE