Select Page
Actions Documentation
Edit on
Codepen.io

data-fsc-action=”ViewCart”

Will initiate the cart page of the storefront for the current session


x
25
 
1
<!--
2
    DEMO INFO:
3
    data-fsc-action="Checkout" will immediately initiate the checkout process for the
4
    current session.
5
-->
6
<button data-fsc-action="ViewCart">
7
    View Cart
8
</button>
9
10
<!--
11
    DEMO SETUP
12
        - Initialize the Store Builder Library
13
        - Add item to cart
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-cart"
20
    data-continuous=true>
21
</script>
22
23
<script type="text/javascript">
24
    fastspring.builder.add('phot-io-main-app');
25
</script>
1
 
1
1
 
1

Related Topics