you will need to create a database table to hold the Zone 1 and Zone 2 zip codes, and set the zones:
zones:
zoneID - Primary Key, Auto Inc.
zonePostCode - varchar - stores the post code
zoneName - varchar - use either 1 or 2 to set the post code to the corresponding zone.
On the confirm page, create a recordset that will lookup the post code that is entered, name the recordset "zoneLookup".
Set the filtering section of the recordset to:
zonePostCode =
Form Variable eCartCheckoutForm_shipping_postcode
Next, in the server behaviors panel, click the plus button and select eCat -> General -> Set Session Value.
Set the trigger to Recordset zoneLookup not empty
set the name to "shipZone"
click the lightning bolt next to value and select the zoneName column from the recordset.
add a second set session value behavior, for this one:
Set the trigger to Recordset zoneLookup is empty
set the name to "shipZone"
set the value to 3
Now you will need to edit the eCart object to create the shipping change, you will need to create 3 of them.
For each of them, use the trigger:
Based on session variable value
the session variable to use will be the shipZone session which will have the value of 1, 2 or 3
and set the calculation to be the flat rate shipping charge that corresponds to the zone.