User Guide

Chapter 162
8
Right click and choose Possible Interactions. In the Database Edit category,
double click the interaction:
Use ShippingHidden data to update/insert in Orders when SubmitOrder
is clicked
9 Set the Recordset parameter according to the following table, then click OK.
Calculating and Displaying Sales Tax
To calculate Sales Tax:
1
Select the SalesTaxText element and enter $[SalesTax].
2 Shift select the following elements:
SalesTaxText text box (on page)
ShoppingCartObject (in Basement)
SalesTax recordset (in Basement)
Customers recordset (in Basement)
3 Right click and choose Possible Interactions. Scroll to the eStore Tax category
and double click the interaction::
Replace [token] in SalesTaxText with sales tax from SalesTax using
ShoppingCartObject total and state from Customers
4 Set the parameters according to the following table, then click OK.
Note: In order to display sales tax when testing your site, make sure your customer billing
region is a state that is listed in the MyStates parameter for the “Set sales tax in
ShoppingCartObject to tax value from SalesTax using state from Customers” interaction.
Parameter Set to:
Recordset Column Freight
Parameter Set to:
MyStates CA
token [SalesTax]
TaxStateCol State
TaxCol SalesTax
BillingStateCol BillingRegion