The JS Buy SDK is a lightweight library that allows you to build ecommerce into any website. It is based on Shopify's API and provides the ability to retrieve products and collections from your shop, add products to a cart, and checkout.
Search for millions of products from the world's greatest brands.
### Patch Changes - ff74c2f: Fix bug where a shipping discount could appear as if it was a line item discount - 2c5a33f: Fix bug where adding mulβ¦
### Patch Changes - ec94f4f: Update checkout.webUrl to use the same domain for checkout as shopify-buy v2 > [!CAUTION] > > ## Deprecation notice >β¦
### Patch Changes - 57a36e1: No longer throw errors (and gracefully ignore any discounts returned from the cart) if JS Buy SDK v3 cannot map the caβ¦
### Patch Changes - a3cdfdf: Add support for ComponentizableCartLine > [!CAUTION] > > ## Deprecation notice > > **Note: The JS Buy SDK is deprecatβ¦
### Patch Changes - c44ec03: Add support for multiple discounts in addDiscount > [!CAUTION] > > ## Deprecation notice > > **Note: The JS Buy SDK iβ¦
### Patch Changes - d651304: Fix cart query for lines pagination > [!CAUTION] > > ## Deprecation notice > > **Note: The JS Buy SDK is deprecated aβ¦
### Patch Changes - 462d162: Move npm releases to github actions with changeset and provenance > [!CAUTION] > > ## Deprecation notice > > **Note: β¦
Bumps the SDK to use Storefront API version 2024-04. For more information, see the [Release Notes](https://shopify.dev/api/release-notes/2024-04).