Add to cart button
This page was printed on Aug 21, 2019. For the current version, visit https://help.shopify.com/en/themes/customization/products/add-to-cart.
Learn how to make changes to the way your Add to cart button works on product pages.
Before you edit your theme code
Before you edit your theme code, it's a good idea to do the following tasks:
- Check the settings for your theme in the theme editor. If there's a setting for the change that you want to make, then you don't need to edit your theme code.
- Duplicate your theme to create a backup copy. This makes it easy to discard your changes and start again if you need to.
- Make sure that you understand what level of support is available.