Buy Button JS now defers checkout creation until a variant is added to cart
Tools
Effective November 19, 2019
The Buy Button cart component’s model is no longer initiated to an empty checkout. Instead, the model is null until a variant is added to cart. This is expected to have a positive impact on the performance on your Buy Buttons!
If you have leveraged the cart’s model in any custom code written using Buy Button JS, it is recommended that you verify your Buy Button still functions as expected.
Learn more about these changes by reviewing the pull request on Github.