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.
Printable View
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'];
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 ... :eek:
An option to avoid this would be to have used:
zones2 vs zones_2
ZONES2 vs ZONES_2
Thanks totalsam for the files and everyone else who contributed, I got my zone rates to work with these files!
Cheers
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. ... :smile:
:oops:
corrected now
Ain't it fun writing contributions?! :lamo:
How do I make the "Zone Rate" Multiply by the "Product Quantity" to calculate the Total Price ...
Its seems so simple, but I can't really find anything in "Admin Panel" to accomplish this.... ?
I have already specified 2 Zone Rates (US and Non-US) under Shipping Module. Right now, the zone rates are not multiplying to the Prod. Qty.
Any advise is very appreciated. Thanks
I am basically trying to set up this pricing
http://i37.tinypic.com/4jpdzq.gif