Replacing “Add to cart”

The “Add to cart” text can be customized for each product using metafields. This is useful if you want to change the wording for specific products. For example, you could use this to display “Pre-order” for one product.

1

Create metafield definition

  1. Navigate to Settings > Custom data > Products

  2. Click Add definition

  3. In the name field type “Button text

  4. Ensure the namespace and key field is custom.button_text

2

Update metafield

  1. Navigate to the product you’d like to update

  2. Scroll to the bottom and enter in text for the “Button text” metafield

  3. Click Save

Metafields can also be updated using the bulk editor

Last updated

Was this helpful?