> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.weblium.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Adding a button to buy a product

You can add the "Go To Pay" action to any button, what will allow your customers to buy the product in "1 click". After clicking on the button, a shopping cart will automatically open. After filling in all the relevant information, a customer will be able to purchase your product.

${youtube}[Adding a button with the "Go to pay" click action](dPtOtss8SdA)

||| ${color}[#f97700](Important:) Before adding the "Go To Pay" click action, make sure that the store is activated on your site and at least one product is added to it according to the [Activating the online store and adding products](https://help.weblium.com/en-us/article/activating-the-online-store-and-adding-products-1s241ov/) article.

| ${color}[#1aa900](Tip:) To learn how to add a button to your site, see the [Adding a button](https://help.weblium.com/en-us/article/adding-a-button-ebnw6k/) article.

# Adding the "Go To Pay" click action
To add the ability to buy a product by clicking on the button on your site, follow these steps:

1. Click on the chosen button and navigate to its settings by clicking on the gear:

![](https://storage.crisp.chat/users/helpdesk/website/fa84b4d83a50e800/oplata-angl-1_q8wvmb.png)

2. Select the **Go To Pay** action and choose the product you wish to apply this action to from the drop-down menu below:

![](https://storage.crisp.chat/users/helpdesk/website/fa84b4d83a50e800/oplata-angl-2_exjb7q.png)

3. For the changes to take effect, [publish](https://help.weblium.com/en-us/article/publishing-a-site-tgxmch/) your website.

||| ${color}[#F97700](Important:) Bear in mind that you can set up an ordinary product in this way, but not [a product with options](https://help.weblium.com/en-us/article/product-options-1o61xt2/).

Done! When your customers click on this button, the shopping cart with the product you chose in the button settings will be automatically opened.