A
A
Alexander2016-04-11 21:38:55
1C-Bitrix
Alexander, 2016-04-11 21:38:55

How to add a "Buy" button in Bitrix?

Can you tell me how to correctly display the "Buy" button on the product detail page?
I analyzed the standard template, but did not really understand how this function is implemented.
In older versions, as I understand it, ADD_URL and BUY_URL were used, but now they do not work.
And now everything is tied to this id:
id="<? echo $arItemIDs['ADD_BASKET_LINK']; ?>"

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2016-04-11
@gangstarcj

Well, there is a whole script.js file in which a huge undocumented baboon is written, which is responsible for this button.
https://dev.1c-bitrix.ru/api_help/catalog/basket.php
https://dev.1c-bitrix.ru/community/webdev/user/516...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question