SubblySubbly
Log inGet started
  • Get started
  • Developer resources
Developer resources
Subbly.js SDK
    InstallConfigureKeep it up to dateBuild a checkoutHandle errorsRun a funnel
SubblyCart.js widget
    InstallConfigureKeep it up to dateWire it into your pageDrive it from your codeStyle it
Subbly.js SDK

Keep Subbly.js up to date

Pin a version in production, so a new release cannot change your storefront before you test it.

  • npm. npm install writes the exact version to your lock file. To upgrade, run npm install @subbly/sdk@latest, then test and commit the new lock file.
  • CDN. The bare URL always serves the latest release. Put the version in the URL instead, and change it when you upgrade:
Pin the CDN version
<script src="https://cdn.jsdelivr.net/npm/@subbly/sdk@0.6.27"></script>

To see which version a page runs, read subbly.VERSION.

Last modified on September 14, 2026