This is the support thread for the multiple zones mod I have just added having had lots of questions about how to do it.
Any questions ask here and I'll do my best to answer.
This is the support thread for the multiple zones mod I have just added having had lots of questions about how to do it.
Any questions ask here and I'll do my best to answer.
File has been uploaded to the ZenCart Add On files but meanwhile its available on here for anyone that wants it.
Enjoy!
You may wish to check the code ...
Line 147 of each file needs to be changed to:
with the exception of zones_2.php as it is already set to this ...Code:$dest_country = $order->delivery['country']['iso_code_2'];
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Thanks totalsam for the files and everyone else who contributed, I got my zone rates to work with these files!
Cheers
Hi Sam, I have implemented the multiple zone modification, the display show all the zones, may i know whether there is any solution for only display (bold) available zone rates, then hid the others (highlight dark red)?
Shipping quotes are based on the address information you selected:
Kuala Lumpur Malaysia
Available Shipping Methods Rates
Flat Rate 1-8pcs Only - East Malaysia (FREE! for Order RM150.00 above) RM6.00
Store Pickup (Walk In) RM0.00
Zone 1 Shipping Rates (No shipping available in Zone 1)
Zone 2 Shipping Rates (No shipping available in Zone 2)
Zone 3 Shipping Rates (No shipping available in Zone 3)
Zone 4 Shipping Rates (No shipping available in Zone 4)
Zone 5 Shipping Rates (No shipping available in Zone 5)
AND
Shipping quotes are based on the address information you selected:
Brunei Darussalam
Available Shipping Methods Rates
Zone 1 Shipping Rates (Shipping To Brunei Darussalam) RM19.70
Zone 2 Shipping Rates (No shipping available in Zone 2)
Zone 3 Shipping Rates (No shipping available in Zone 3)
Zone 4 Shipping Rates (No shipping available in Zone 4)
Zone 5 Shipping Rates (No shipping available in Zone 5)
NOTE: because of how these are written ...
If you install the standard Zone Rates zones shipping module and then install all of these ... then later REMOVE the Zone Rates zones shipping module ... ALL of these Zone Rates modules will be removed ...
An option to avoid this would be to have used:
zones2 vs zones_2
ZONES2 vs ZONES_2
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Oops thought I had checked for stray _2 but missed one! Also completely forgot about the whole _# file structure. I was trying to make it simpler to create more zones if needed rather than having to replace zones# and ZONES# but I can't see a sensible way round that at the moment. Maybe if I think about it I may have a better solution but for now I have reverted to removing the _.
Here is an updated set of files, I'll put these into the Free add-ons once the original is up.
Thanks Ajeh!
You forgot to rename the filenames in:
/includes/modules/shipping
to exclude the _ as well ... example:
zones_2.php to zones2.php
zones_3.php to zones3.php
etc. etc. etc. ...![]()
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
corrected now
Ain't it fun writing contributions?!![]()
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Bookmarks