Edit on
Codepen.io
Codepen.io
Simple Popup
x
18
1
<!--
2
Initialize the Store Builder Library
3
-->
4
<script
5
id="fsc-api"
6
src="https://sbl.onfastspring.com/sbl/1.0.2/fastspring-builder.min.js"
7
type="text/javascript"
8
data-storefront="fastspringexamples.test.onfastspring.com/popup-fastspringexamples">
9
</script>
10
11
<!--
12
To add a product to the purchase session we need to define the data-fsc-item-path-value
13
with the product path and also define the data-fsc-action where we first Add this item to the
14
session and then initiate Checkout
15
-->
16
<button data-fsc-item-path-value='phot-io-main-app' data-fsc-action="Add, Checkout" >
17
Add to cart
18
</button>
1
1
1
1