dferguson
22nd September 2005, 02:14 AM
FYI
Some merchants have asked us how the case statements in the eziproducts.js file are formatted..
EXAMPLE:
case 22:return nA(149,10,15,30,0.5,0.1,0.1,0.1);
Case 22 = This is the product id
149 = extax price
10 = local freight (if using per product freight method, if not this value is ignored)
15 = domestic freight (if using per product freight method, if not this value is ignored)
30 = international freight (if using per product freight method, if not this value is ignored)
0.5 = weight of product
0.1 = tax (this figure represents the tax amount for local)
0.1 = tax (this figure represents the tax amount for domestic)
0.1 = tax (this figure represents the tax amount for international)
Some merchants have asked us how the case statements in the eziproducts.js file are formatted..
EXAMPLE:
case 22:return nA(149,10,15,30,0.5,0.1,0.1,0.1);
Case 22 = This is the product id
149 = extax price
10 = local freight (if using per product freight method, if not this value is ignored)
15 = domestic freight (if using per product freight method, if not this value is ignored)
30 = international freight (if using per product freight method, if not this value is ignored)
0.5 = weight of product
0.1 = tax (this figure represents the tax amount for local)
0.1 = tax (this figure represents the tax amount for domestic)
0.1 = tax (this figure represents the tax amount for international)