SubblyCart.js

SubblyCart.js is a JavaScript library that allows you to add Subbly's cart functionality to your website.

Installation


<script>
  window.subblyConfig = {
    apiKey: 'API_KEY'
  }
</script>
<script type="module" src="https://assets.subbly.co/cart/cart-widget.js"></script>

By adding this code and replacing API_KEY with your API keyopen in new window to your webpage, you will be able to access Subbly's checkout functionality.

Check the guide section for common use cases and configuration options.

See SubblyCart.js reference for all available configuration options and programmatic interactions.