This page was printed on Jan 25, 2020. For the current version, visit https://help.shopify.com/en/themes/customization/products/variants.
Learn how to modify the way in which your theme handles variant selection.
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.