Product Level Directive Documentation
Edit on
Codepen.io
Codepen.io
data-fsc-item-priceTotal
(quantity x priceValue) ‘Pretty’ price with currency symbol – no discounts included – string
x
27
1
<!--
2
DEMO INFO
3
Shows the base price of the item (without discounts) X quantity.
4
Will not include tax for US transactions, will include tax for the rest of the world.
5
-->
6
Price Total:
7
<span data-fsc-item-path="phot-io-main-app" data-fsc-item-priceTotal>
8
<!--This value will be replaced-->
9
</span>
10
11
<!--
12
DEMO SETUP
13
- Initialize the Store Builder Library
14
- Add a few products to cart
15
- Apply promo to demonstrate it doesn't effect priceTotal
16
-->
17
<script
18
id="fsc-api"
19
src="https://sbl.onfastspring.com/sbl/1.0.2/fastspring-builder.min.js"
20
type="text/javascript"
21
data-storefront="fastspringexamples.test.onfastspring.com/popup-fastspringexamples">
22
</script>
23
24
<script type="text/javascript">
25
fastspring.builder.update('phot-io-main-app', 5)
26
fastspring.builder.promo('tenoff')
27
</script>
1
1
1
1