Store Builder Overview

Add e-commerce features to your website using FastSpring's Store Builder

Store Builder

FastSpring's JavaScript library for embedding e-commerce features directly into your website. Power everything from Buy Now buttons to fully branded checkout flows.

What can you do with Store Builder?

These building blocks help you create a seamless, dynamic e-commerce experience.

Add Store Builder to your site

Add the following script to any page where you want to use Store Builder:

<script 
    id="fsc-api"
    src="https://sbl.onfastspring.com/sbl/1.0.3/fastspring-builder.min.js"
    type="text/javascript"
    data-storefront="your-storefront-URL">
</script>

Replace your-storefront-URL with the full path to a checkout in your store (e.g., yourstore.test.onfastspring.com/popup-checkout).

Attribute Description
id Identifies the script block (must be fsc-api)
src The script source and Store Builder version to load
type Declares the script as JavaScript
data-storefront The full URL to your FastSpring checkout
Where do I find my checkout URL?
In the FastSpring app, go to Checkouts > Popup Checkouts. Select a checkout and click Place on your website. In the modal that appears, find the URL in the data-storefront line of the script snippet. This is the value you’ll use for data-storefront in your implementation.