We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The documentation gives the following code for including the library:
<script src="http://sdks.shopifycdn.com/buy-button/1.0.0/buybutton.js"></script>
But version 1.0.0 does not work anymore. When you try to create a cart it throws
buybutton.js:15150 TypeError: Cannot read properties of undefined (reading 'checkoutCreate')
Is it possible to update the documentation to make it clearer a newer version is required?
The text was updated successfully, but these errors were encountered:
Following - something changed in the code that broke my website. Looking to get an update on this.
Sorry, something went wrong.
I personally resolved this by using the latest minified version of the SDK:
<script src="https://sdks.shopifycdn.com/buy-button/latest/buy-button-storefront.min.js"></script>
No branches or pull requests
The documentation gives the following code for including the library:
But version 1.0.0 does not work anymore. When you try to create a cart it throws
Is it possible to update the documentation to make it clearer a newer version is required?
The text was updated successfully, but these errors were encountered: