Select Page
Product Level Directive Documentation
Edit on
Codepen.io

data-fsc-item-unitPrice

(priceValue – unitDiscountValue) ‘Pretty’ price – string


x
22
 
1
Unit Price:
2
<span data-fsc-item-path="phot-io-main-app" data-fsc-item-unitPrice>
3
    <!--This value will be replaced-->
4
</span>
5
6
<!--
7
    DEMO SETUP
8
        - Initialize the Store Builder Library
9
        - Add multiples products to cart to demonstrate single 'unit'
10
        - Add promocode to demonstrate
11
-->
12
<script
13
    id="fsc-api"
14
    src="https://sbl.onfastspring.com/sbl/1.0.2/fastspring-builder.min.js"
15
    type="text/javascript"
16
    data-storefront="fastspringexamples.test.onfastspring.com/popup-fastspringexamples">
17
</script>
18
19
<script type="text/javascript">
20
  fastspring.builder.update('phot-io-main-app', 5);
21
  fastspring.builder.promo('tenoff');
22
</script>
1
 
1
1
 
1

Related Topics