Please note that some of the changes recommended in this guide involve making direct changes to the theme code. If you encounter difficulties with this, please contact a third-party developer for more troubleshooting, customization, or functionality.
Shopify requires displaying a secondary button style when the dynamic checkout button is enabled. To revert your add to cart button back to the main button style, you can adjust this by editing your theme files using the steps below.
- In your Shopify admin, go to Online Store > Themes, click the ... icon next to your theme copy, and select Edit code.
- Depending on your theme, open the product-form.liquid or add-to-cart.liquid template in the snippets folder.
- In the code editor, press Command + F (Mac) or Ctrl + F (Windows) to search for the following snippet and delete it:
btn--secondary
Save the file and you should be all set!