Home > Item #241
I need more than the default number shipping zones and also need more bands within each zone. How can I achieve this with CactuShop?
First, open up the table tblCactuShopShippingRates. You will see a set of records. Five records are applied to each the zones (see S_Zone column). In v5, there are a different set of records for each shipping method (in the tblCactuShopShippingMethods table) too.
To add another zone, copy the zone 1 records (i.e. all records where S_Zone = 1), paste them into the table and change the zone value to a new value (probably 6 if you're using CactuShop v5). You now have an extra zone. You will also need to name this zone by creating a new language string called Config_Zone6 and adding the number of this new string to the shipping.asp page in the front end (on v4, instead of this language string, create a new config setting called zonearray(4) with the name of this new zone). Finally, on the shipping.asp page (the one in the root of the web, not the includes folder), you will need to change this:
CactuShop v5
change Dim aryZone(5) to Dim aryZone(6)
CactuShop v4
change Dim zonearray(3) to Dim zonearray(4)
and then add to the same file:
aryZone(5) = GetString("Config_Zone5") (in v5)zonearray(4) = Application(LICENSENUMBER & "zonearray(4)")(in v4)