Developer changelog

Subscribe to the changelog to stay up to date on recent changes to Shopify’s APIs and other developer products, as well as preview upcoming features and beta releases.

Get updates by RSS

Buy Button carts now support automatic discounts

Tools

We’ve added support for automatic discounts to Buy Button carts, which has been enabled by default in the latest version of Buy Button JS.

Who is affected by this change?

Buy Button JS users, and Buy Button sales channel users

How do I prepare for this change?

It is recommended that you check your cart’s appearance with automatic discounts while upgrading to the latest version of Buy Button JS, especially if customizations have been made to the cart. We’ve also exposed new configuration options to allow full customization of discounts in the cart. This is available now.

What happens if I do nothing?

You may not be impacted by this change if you are not using automatic discounts. If you are, there might be unexpected behaviour in the cart.

Where can I learn more?

You can learn more about these changes here