Order Level Directive Documentation
Edit on
Codepen.io
Codepen.io
data-fsc-taxid-value
Customer’s VAT ID or GST ID for exemption
x
49
1
<!--
2
DEMO EXTRA INFO
3
-->
4
Enter the tax id "DE257486969" to apply a discount<br /><br />
5
6
<!--
7
DEMO INFO
8
data-fsc-taxid-value should be included in the input field box
9
for action="TaxId" as the TaxId action will look for the nearest
10
data-fsc-taxid-value.
11
-->
12
Tax ID:
13
<input type="text" data-fsc-taxid-value />
14
15
<button data-fsc-action="TaxId">
16
Apply Tax ID
17
</button>
18
19
<!--
20
DEMO RESULTS
21
-->
22
<br /><br />
23
Order Total:
24
<span data-fsc-order-total>
25
<!-- this will be replaced with the order total -->
26
</span>
27
<br><br>
28
Order Tax:
29
<span data-fsc-order-tax>
30
<!-- this will be replaced with the order total -->
31
</span>
32
33
<!--
34
DEMO SETUP
35
- Initialize the Store Builder Library
36
- Change country to Germany
37
- Add a product to cart
38
-->
39
<script
40
id="fsc-api"
41
src="https://sbl.onfastspring.com/sbl/1.0.2/fastspring-builder.min.js"
42
type="text/javascript"
43
data-storefront="fastspringexamples.test.onfastspring.com/popup-fastspringexamples">
44
</script>
45
46
<script type="text/javascript">
47
fastspring.builder.country("de");
48
fastspring.builder.add("phot-io-main-app");
49
</script>
1
1
1
1