Button location
Select the site pages where you want to place the button from the drop-down list:
- Disabled: If you want to disable the button temporarily.
- Order creation in the cart: If you want to add the button to the order creation in the cart page.
- Cart: If you want to add the button to the cart with step-by-step order creation.
- Step-by-step order creation: If you want to add the button to the step-by-step order creation page.
- Cart (add via helper): If you want to add the button in special places, for example, in the "floating cart". Add the
{shopYandexpayPlugin::button(n)}
to its template, wheren
is the button ID (number) that you can view in the HTML button template setting. - Product card: If you want to add the button to the product page.
To fill out the Selector for adding the button and Button addition method boxes, you need basic jQuery or CSS knowledge. You can also use a ready-made settings example for your theme if it is in these instructions.
In the Selector for adding the button box, specify the selector value for the script to use when adding the button and the method of adding it.
Was the article helpful?
Previous