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
SubblyCart.js widget

Keep the widget up to date

Subbly hosts the widget at https://assets.subbly.co/cart/cart-widget.js and updates it there. Because the loader is never cached, every page load picks up the current release. You do not install updates, and the hosted URL carries no version to pin.

Self-host the widget

If you must control the version yourself, self-host the widget. Subbly users can build it from the source: set VITE_BASE_URL to the URL you host it at, run the build, copy the dist folder to any static host, and point the script tag at your own cart-widget.js. Keep the same caching rule: never cache the loader, cache assets/ for a long time.

Last modified on September 14, 2026
On this page
  • Self-host the widget