Answer the question
In order to leave comments, you need to log in
How to make a popup window when clicking on the buy button on the bitrix product detail page?
Good morning everybody!
It is necessary to make a modal window when you click on the Buy button on the bitrix detailed product card, now when you click it, you immediately go to the basket
Answer the question
In order to leave comments, you need to log in
The bitrix:catalog complex component has parameters for setting the actions of the buy/add to cart button:
1. Parameter DETAIL_ADD_TO_BASKET_ACTION = BUY/ADD, to display the ADD popup
2. Parameter USE_COMMON_SETTINGS_BASKET_POPUP = Y/N, if Y from the documentation If the option is checked on all pages of the catalog the same button display settings will be used for add to cart or purchase . If you set Y, then the parameter from point one will not be taken into account, and in the COMMON_ADD_TO_BASKET_ACTION parameter, specify the ADD value and we will also get a popup.
The above settings work with default templates
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question