Actions Documentation
Edit on
Codepen.io
Codepen.io
data-fsc-action=”Reset”
Will reset the current session
x
31
1
<!--
2
DEMO INFO:
3
data-fsc-action="Reset" simply needs a button to activate it, and will clear
4
the entire cart.
5
-->
6
<button data-fsc-action="Reset">
7
Empty Cart
8
</button>
9
10
<!--
11
DEMO EFFECTS
12
-->
13
<br><br>
14
Total
15
<span data-fsc-order-total></span>
16
17
<!--
18
DEMO SETUP
19
- Initialize the Store Builder Library
20
- Add item to cart
21
-->
22
<script
23
id="fsc-api"
24
src="https://sbl.onfastspring.com/sbl/1.0.2/fastspring-builder.min.js"
25
type="text/javascript"
26
data-storefront="fastspringexamples.test.onfastspring.com/popup-fastspringexamples">
27
</script>
28
29
<script type="text/javascript">
30
fastspring.builder.add('phot-io-main-app');
31
</script>
1
1
1
1