Actions Documentation
Edit on
Codepen.io
Codepen.io
Chained actions – data-fsc-action=”Reset, Add, Checkout”
Actions can be chained by separating them with commas
x
20
1
<!--
2
DEMO INFO
3
Actions can be chained by separating them with commas. In this example, we are
4
adding a product and initiating checkout.
5
-->
6
7
<button data-fsc-item-path-value='phot-io-main-app' data-fsc-action="Add, Checkout" >
8
Add to cart
9
</button>
10
11
<!--
12
DEMO SETUP
13
- Initialize the Store Builder Library
14
-->
15
<script
16
id="fsc-api"
17
src="https://sbl.onfastspring.com/sbl/1.0.2/fastspring-builder.min.js"
18
type="text/javascript"
19
data-storefront="fastspringexamples.test.onfastspring.com/popup-fastspringexamples">
20
</script>
1
1
1
1