How can I configure my cart to ONLY allow zone shipping based upon weight for one product type? (bulk food for instance)
I want products from a different product type (lightweight stuff like medicine) to be free shipping
Printable View
How can I configure my cart to ONLY allow zone shipping based upon weight for one product type? (bulk food for instance)
I want products from a different product type (lightweight stuff like medicine) to be free shipping
Hi everyone,
If you want to add more zones after you have setup the shipping module, you have to do these (assuming you have created the new zones already).
1. backup the values you have create. easiest is to copy from the shipping module's summary and paste it in notepad.
2. Uninstall (remove) and reinstall the shipping module. New fields will be created for the new zones.
3. Reconfigure the shipping module with the backup data and enter new value for the new zones.
I just installed this mod and it is fantastic. Have been losing money on sending parcels to WA but couldnt see how to make the Zones work within countries. This one made it easy. I dont have handling fees but I'm sure I saw a spot to add one at each zone within Zone Tables - ie. select the zone from the drop down box, type in the shipping fees and then just below I think is a small box to specify handling fee. I was looking at a much more complicated solution of installing the AustPost Improved mod but this one does just about all I need.
Havent checked all the likely shipping scenarios but the testing I did today seems like everything is working well.
Thanks
Leah
www.aussiesapphire.com.au
I'm wondering if this will work for my scenario. I'm testing locally using WAMP on my PC.
I've set up these zones...
ZONE 1 = U.S. First Class - (US, all zones)
ZONE 2 = U.S. Priority Mail - (US, all zones)
ZONE 3 = U.S. Express Mail - (US, all zones)
ZONE 4 = Canada - (All countries, all zones)
ZONE 5 = International (All countries, all zones) I want this to be everywhere except U.S. and Canada.
I uninstalled the Zone Rates when I installed Zones Table Rate. Was this correct?
When I test with a U.S. address the only shipping option is Express Mail. Maybe I'm not using this mod properly. Maybe I need some other mod/addon/method? I'm pretty lost in the sea of shipping setup.
When I test an international address (Austrailia), I get a table that says, "Available Shipping Methods" and "Rates" but no methods or rates listed.
Seems to work when I test Canada but currently I only have First Class configured. I haven't attempted a Priority Mail method for Canada, not sure I want to try!
Am I misunderstanding this mod? Should I try something else? If so, any suggestions are greatly appreciated.
Thanks,
Rebekah
I am new to this and have try your module, it is nice but seems it is not meet my needs. maybe someone can help
I need Province and City in zone table rate, because shipping cost will be calculated based on city and province of customer, can I do that?
I have 1 zone for each state in Australia - but need two prices for each state. Registered Mail or Express Post so I simply copied the zonestable.php mod and renamed everything accordingly. (its works fine)
1. is priced for Express Post from: 0kg - 10kg
2. is priced for Registered Post from: 10kg - 20kg
The problem is when a customer in NSW has cart content of say 15kg, basically only Registered Post should be displayed but both mods are showing and the Express Post mod is displaying $0.00 for postage amount and it allows the customer to select it and check-out with free post??
I dont want to post Express Items any heavier then 10 kilo, thats when registered mail kicks in and takes over - how do I disable the Express Post ( ztexpresspost.php copied and renamed from zonestable.php) mod when the order is over 10kg?
I have maximum shipping weight set to 20 kg in configuration, Free shipping is also disabled.
Express Post = 0.5:10,1:15,2:17,10:20
Registered Post = 20:20
Express Post is supposed to stop showing or at least stop functioning if cart >10kg
And how do I get the Registered Post to only start displaying when the carts total weight exceeds >10kg?
Cheers Lee
Nevermind I figured out a way.
In my Registered Post shipping mod I added a code snippet to only display if the cart is 10kg or more:
Find this code snippet in zonestable.php:
// disable only when entire cart is free shipping
if (zen_get_shipping_enabled($this->code)) {
$this->enabled = ((MODULE_SHIPPING_ZONETABLE_STATUS == 'True') ? true : false);
}
And directly benief it add this:
In my Express Post shipping mod I added a code snippet to only display if the cart is less then 10kg:Code:
// Fishmad added: Enable only if cart contents are heavier than 10kg
if ($_SESSION['cart']->show_weight() >= 10) {
$this->enabled = true;
}
Find this code snippet in zonestable.php:
// disable only when entire cart is free shipping
if (zen_get_shipping_enabled($this->code)) {
$this->enabled = ((MODULE_SHIPPING_ZONETABLE_STATUS == 'True') ? true : false);
}
And directly benief it add this:
Works for me.Code:
// Fishmad added: Enable only if cart contents are less than 10kg
if ($_SESSION['cart']->show_weight() >= 10) {
$this->enabled = false;
}
hi there,
Could anyone tell me what's the difference between this module and 'Zone Rates' module that's pre-installed when you installed zen cart ?
Or is it basically the same thing cuz i have browsed through this thread and i saw the description saying that this module modified 'Table Rate' module to be allowed to have more than 1 zone.
However, isn't that the same thing with 'Zone Rate' module ? Perhaps, someone could help me clarify ?
Because, i'm intending to install this module along with pre-installed 'Zone Rates' so that i can have 2 modules with 'multiple zone' capability.
I wonder if the constant value will conflict to each other module ....
Thanks :smile:
I dunno the difference as this has confused me as well-see my setup here http://www.zen-cart.com/forum/showthread.php?t=116595
But after this installing this module and setting it up, my zones work exactly as I want! :-)
I spent most of this afternoon trying to figure out what I was not getting - still don't get it! Surf7.net - I cud kiss u!
smavellous
Thank you.
The neat thing about this add-on is instead of countries and having to think really really hard ... you can just build your various Zones and break them down into any combination and once made just install this module and you will have dropdowns to pick from for each of the Zones that you defined where you can set individual prices for each zone ...
Rookie Zen Cart User - Problem
1. Install seemed to go fine. Zone Table Rate shows as an option with a yellow icon in Modules > Shipping, but doesn't show up as an option during checkout. Below are the Module settings. What am I missing? Thanks in advance.
Set separate table rate for different shipping zones
Enable Table Method
True
Table Method
weight
Tax Class
Taxable Goods
Tax Basis
Shipping
Sort Order
1
Shipping Zone 1
Zone 1
Zone 1 Shipping Table
5:10.00,15:14.00,50:28.00,100:42.00,200:85.00,400:175.00,1000:235.00,1500:290.00 ,2000:335.00,3000:380.00,4000:430.00,5000:480.00,6000:570.00,7000:670.00,8000:77 0.00,9000:860.00,100000:0.00
Zone 1 Handling Fee
0
Shipping Zone 2
Zone 2
Zone 2 Shipping Table
5:12.00,15:15.00,50:30.00,100:50.00,200:90.00,400:200.00,1000:250.00,1500:300.00 ,2000:350.00,3000:430.00,4000:430.00,5000:500.00,6000:600.00,7000:700.00,8000:80 0.00,9000:900.00,100000:0.00
Zone 2 Handling Fee
0
Shipping Zone 3
Zone 3
Zone 3 Shipping Table
5:12.00,15:17.00,50:33.00,100:48.00,200:93.00,400:185.00,1000:255.00,1500:340.00 ,2000:370.00,3000:450.00,4000:450.00,5000:550.00,6000:680.00,7000:780.00,8000:88 0.00,9000:980.00,100000:0.00
Zone 3 Handling Fee
0
Shipping Zone 4
Zone 4
Zone 4 Shipping Table
5:12.00,15:19.00,50:35.00,100:55.00,200:100.00,400:200.00,1000:280.00,1500:370.0 0,2000:400.00,3000:500.00,4000:500.00,5000:600.00,6000:700.00,7000:800.00,8000:9 00.00,9000:1000.00,100000:0.00
Zone 4 Handling Fee
0
Shipping Zone 5
--none--
Zone 5 Shipping Table
Zone 5 Handling Fee
Make sure that the Zones that you defined are correct ...
Check the details on them that they include the Countries/states that you think they do ...
I am about ready to give up on this, been pulling my hair out all day but I hope it just something stupid I am missing. I have added my zones in Zones Definitions creating 8 zones. I followed this thread through from beginning to end and followed the advice given but still having no luck. Of those 8 zones, only the original 3 are showing up. However on the pull-down menu for each of those 3 is my 8 zones listed. I have unistalled and reinstalled, reinstalled the files and still no luck. Still getting the same 3 zones down the side.
No error messages are coming up.
Hope that makes sense.
Thanks
MY ZENCART IS VERSION 1.38
I also face the same problem with you .I just add 2 zone only .
west malaysia and east malaysia .the light for the zone definition is green. But the light in MODULES> shipping still show as yellow. Ya. as what surf said before just ignore the yellow light (icon ) it will work . but seems is wrong . because when i go to the check out counter it doesn't show out . even when i back to use the the table rate instead of the zonetable rate . all is yellow icon and can't show out . what should i do......:frusty:
Hallo... I really love this add-on..just what i needed...but i have some error with this..if if use 6 zones def its ok, but when i add the 7th..i got this error n cannot add the 7th zone:
Warning: constant() [function.constant]: Couldn't find constant MODULE_SHIPPING_ZONETABLE_ZONE_7 in /home/sloki/user/h86120/sites/masokoec.com/www/includes/modules/shipping/zonetable.php on line 82
DO you have some solution for this ??
TQ
Can someone please explain to me how to use this module???
How do I set up more than 1 Zone? And how do you add states instead of countries? We are primarily concerned with setting up zones for states.. Say like in the US the west coast would be zone 1, central coast would be zone 2, and east coast would be zone 3.
Can someone please point me in the right direction?
Make sure you set up the zones BEFORE you install this module as it creates the templates for the number of zones that exist.
First you need to define your "zones". In admin, create the Zones for East, Central and West coasts. Then assign to each of those zones the states that count. This will take some time.
Second, install this module and choose the three zones that you created in the three pull down lists. Set values.
Is that enough to get you started??
Hi Geofftech,
Yes, thank you!! That makes much more sense now after following your instructions while being in the Admin->Locations/Taxes->Zone Definitions
I was going to ask you about other shipping methods, but I think I may have gotten my answer in another thread I started asking a questions related to more than one shipping method when using Zones.
http://www.zen-cart.com/forum/showth...232#post683232
Thanks so much. That really helped!
Hi everyone,
I have this shipping module and i have a problem.
I have two zones.
My table rate is:
Zone Table Rate 1: 5:6.51,10:7.32,20:10.25,40:15.25
Zone Table Rate 2: 10:4.22,50:8.48,100:14.15,150:19.82,500:47.03,1000:76.75,2000:131.48
When a customer has cart content of say 50kg, basically only Zones Table Rate 2 should be displayed but both mods are showing and the Zone Table Rate 1 mod is displaying $0.00 for shipping amount and it allows the customer to select it and check-out with free shipping.
How do I get the Zones Table Rate 1 dont display when the carts total weight exceeds >40kg?
Thanks :)
I dont think it makes any claim to work in that way :(Quote:
When a customer has cart content of say 50kg, basically only Zones Table Rate 2 should be displayed
One of the FAQs says to make the top level in the table an outrageous amount so it wont be selected.
10:10,15:15,20:20,999:1000
Sorry
I've installed the extention as well (on 1.3.8). Works ok, with one problem: if you add zones AFTER the module is installed, you get all kinds error messages. So I added the following code just after the number of zones is determined:
Code:// make sure all the zones are available in the configuration table
for ($i = 1; $i <= $this->num_zones; $i++)
{
$check = $db->Execute("select * from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_SHIPPING_ZONETABLE_ZONE_" . $i . "'");
if ($check->EOF)
{
$db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) values ('Shipping Zone " . $i . "', 'MODULE_SHIPPING_ZONETABLE_ZONE_" . $i . "', '0', 'If a zone is selected, only enable this shipping method for that zone.', '6', '0', 'zen_get_zone_class_title', 'zen_cfg_pull_down_zone_classes(', now())");
define('MODULE_SHIPPING_ZONETABLE_ZONE_' . $i, '0');
$db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Zone " . $i ." Shipping Table', 'MODULE_SHIPPING_ZONETABLE_COST_" . $i ."', '25:8.50,50:5.50,10000:0.00', 'The shipping cost is based on the total cost or weight of items or count of the items. Example: 25:8.50,50:5.50,etc.. Up to 25 charge 8.50, from there to 50 charge 5.50, etc', '6', '0', 'zen_cfg_textarea(', now())");
define('MODULE_SHIPPING_ZONETABLE_COST_' . $i, '25:8.50,50:5.50,10000:0.00');
$db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Zone " . $i ." Handling Fee', 'MODULE_SHIPPING_ZONETABLE_HANDLING_" . $i ."', '0', 'Handling fee for this shipping method.', '6', '0', now())");
define('MODULE_SHIPPING_ZONETABLE_HANDLING_' . $i, '0');
}
}
Hi
How do i get the module to allow me to define more than 3 zones?
i really need it to do 5...
i have 5 zones created in zone definitions.
If you first define the zones, that is: create them and make sure the indicator in the list becomes green by a.o. specifying a TAX.
Then uninstall the payment method in the admin panel and then reinstall it, all the zones will be available. My code (for me) allowed me to skip the uninstall/reinstall step.
Hi,
may i know how so i install it?
i';m using ver 1.3.8
my site is w w w . o - b e a n . c o m
i need something like this:
shipping in Singapore ONLY (for now)
State A to E belongs to Zone 1. Shipping is free is sales is above $50, if not $10 shipping charges apply
State F to J belongs to Zone 2. Shipping is free if sales is ablve $100....
State K to P belongs to Zone 3. Shipping is free if sales is above $100 (same as zone 2 but have to seperate due to the covered area is diff)....
is this module suitable for me?
thank you~
Well, I'm confused. I'm trying to set it up so that my cart will charge extra for shipments to Canada, Puerto Rico, Alaska, and Hawaii yet not sell to customers anywhere else in the world. I've installed this mod but I guess I don't understand it. I'm only seeing one selectable shipping zone right now and it's my home state of MS. Can somebody throw me a bone please as to how I might accomplish this? Thanks.
Ian
Build in the Zone Definitions each of the Zones that you do ship to ... be sure you define what Country/State is part of each Zone ...
Once these are built, uninstall and reinstall the shipping module and you will see each of the Zones in the drop down and a new set of dropdowns ...
So if you build 5 Zones, there will be 5 dropdowns with each of the 5 Zones in it and a section to define the charges for each one that you select ...
I've attached a photo of the zones I set up. However, I'm getting the error shown below when I go to admin/modules/shipping It appears that I need to edit the zonetable.php file so that it can accept my 6 zones. Is this right?
Ian
Warning: constant() [function.constant]: Couldn't find constant MODULE_SHIPPING_ZONETABLE_ZONE_2 in /home/examplec/public_html/catalog/includes/modules/shipping/zonetable.php on line 82
Warning: constant() [function.constant]: Couldn't find constant MODULE_SHIPPING_ZONETABLE_ZONE_3 in /home/examplec/public_html/catalog/includes/modules/shipping/zonetable.php on line 82
Warning: constant() [function.constant]: Couldn't find constant MODULE_SHIPPING_ZONETABLE_ZONE_4 in /home/examplec/public_html/catalog/includes/modules/shipping/zonetable.php on line 82
Warning: constant() [function.constant]: Couldn't find constant MODULE_SHIPPING_ZONETABLE_ZONE_5 in /home/examplec/public_html/catalog/includes/modules/shipping/zonetable.php on line 82
Warning: constant() [function.constant]: Couldn't find constant MODULE_SHIPPING_ZONETABLE_ZONE_6 in /home/examplec/public_html/catalog/includes/modules/shipping/zonetable.php on line 82
Tina, I too am running into this
Warning: constant() [function.constant]: Couldn't find constant MODULE_SHIPPING_ZONETABLE_ZONE_2 in /home/examplec/public_html/catalog/includes/modules/shipping/zonetable.php on line 82
error just as you did but so far I'm not finding anywhere where anybody has fixed this. How did you get it fixed?
Ian
bump bump
Check and make sure that the files are loaded correctly where:
the code file is:
/includes/modules/shipping/zonetable.php
and the language file is:
/includes/languages/english/modules/shipping/zonetable.php
Perhaps save your settings then REMOVE, INSTALL and reconfigure the shipping module ...
Well I had another customer this weekend that bought a 15 lb product shipped to Hawaii for $19.99 I've got to get this fixed. I don't understand why in the world the stock version of Zen doesn't account for such a huge problem. Does anyone know what the problem is with this module?
Ian
It sounds like something is not installed or configured correctly on your site ...
If you like, you may PM me the access to your Zen Cart Admin and I can peek at this for you, when I have more time, and see if there is something obvious here ...
If you are able to build the separate Zone Definitions for this, then you can use it to set your changes for each of your Zones ...
NOTE: on this shipping module, errors such as:
can usually be fixed by just going to the Modules ... Shipping ... and click on the Zones Table zonetable shipping module and click REMOVE, INSTALL and reconfigure it ...Quote:
Warning: constant() [function.constant]: Couldn't find constant MODULE_SHIPPING_ZONETABLE_ZONE_2 in /home/examplec/public_html/catalog/includes/modules/shipping/zonetable.php on line 82
Warning: constant() [function.constant]: Couldn't find constant MODULE_SHIPPING_ZONETABLE_ZONE_3 in /home/examplec/public_html/catalog/includes/modules/shipping/zonetable.php on line 82
NOTE: you may get lots of errors, but it has fixed it on several occasions for me ...
I think I know what my problem was. When people said to remove and re-install I was deleting and re-uploading the files and never actually using the "remove" and "install" buttons.
That is correct ... the modules build various keys when installed ... if the code is changed or the paramaters, the module needs to by REMOVED, INSTALLED and reconfigured to reset the keys, code etc. from what the original settings were ... :smile:
http://img17.imageshack.us/img17/774/12249740.jpg
is it possible to display the zone description rather than zone name ?
this is under Step 2 of 3 - Payment Information
any ideas..
thks!
You would need to do some customization to the code to change the text displayed ...
What country?
Have you configured your Zones to include this country?
Check the Zone Details to ensure that you have not left out the Country and Zones ...
Hi, I've installed this module and it works great in the normal zencart checkout. But when I try going through google checkout the shipping method doesn't show up.
I'm assuming I have to add some code to the shipping_methods.php file, but I'm not sure what?
Hi, I am new and using v1.3.8a
Like the post in the first few page, I want to set my shipping to West Malaysia and East Malaysia.
I had followed the steps like adding zones, defining the zones in West Malaysia and East Malaysia and also installed the zone table.
But how come the Sort Order in Zone Table Rate is still in yellow?
In the checkout page, no option for West Malaysia and East Malaysia appear. Can someone tell me what is wrong with my configuration?
The yellow icon on the modules indicate two things:
1 something may be wrong
2 a filter or Zone has been applied
For you, it sounds like it is just telling you that you have applied a Zone to the module ...
Hi, Thanks for the reply. But I still do not understand. Yea.. i think i had applied a zone to the shipping module. But how come the zone selection does not appear in the checkout page for buyer?
Does the zone has anything related to the address of the buyer? But since the buyer doesn't need to enter any detail about the zone in the address, how could it be related?
Adding the Zone doesn't "show" in the checkout but rather "filters" when the module displays based on the address ...
If the address is within the Zone, then the module will show ... if it is not part of the Zone, then the module will not show ...
The matching zone_id and country_id are used from the address_book on the fields:
entry_country_id
entry_zone_id
ajeh, thanks for ur reply but i still don't know how to link the state to the zone filter. I think I am giving up. Anyway, I came out with an idea to spilt malaysia to Malaysia Peninsular and Malaysia East in the Countries. So i guess this way i can just use the zone rate module since buyer must select whether they are in malaysia peninsular or malaysia east in their address.
Hey.. I have finally figured out what was wrong with my zone table rate. After setting up the zones, zone definition and installing the module, I need to go back to the address to update the address. After the 'Zone' setup, the column to insert State changed to a drop list which was the zones i defined in the 'Zones'. From there the shipping module can filter the address according to the State(ie. zone added)
I m testing for my zonetable now and I figured something wrong. For a normal table rate, we can set end the last amount as 10000:7% to charge 7% of the Order Total.
However, in the zone table rate, I am unable to do this. If i put 30:10%, it will charge items weight more than 30kgs to RM10, instead of 10% of the total order.
Can someone give any suggestion how to deal with this? Does that means that I have to insert the value indefintely?
You may need to customize the module to work with the percentage as the regular Zone Rate zones shipping module does ...
Hi Ajeh,
I'm trying to achieve the percentage allowance as mentioned before. I want to customize the file zonetable.php and compared it to table.php to gather the required percentage information. I found out that $table_cost is defined differently and copied the extra if-loop (incl the else of course) containing the percentage into the $table_cost of the zonetable.php file.
The result, after upload is that I'm receiving $0.00 as soon as my weight reaches the last value with the percentage.
Would you possibly know if there is anything else I need to change in the zonbetable.php file? Or is there any other file I need to change?
Your help would be very much appreciated.
otti
Hi again,
I found the solution for the above. I had missed a line of code which was to be inserted above the total cost calculation:
$order_total_amount = $_SESSION['cart']->show_total() - $_SESSION['cart']->free_shipping_prices() ;
That fixed the problem.
Thanks anyway.
otti
francesca_ph, I don't know if anybody ever answered you on this but I was also trawling for the same instruction set and did not find it, so I'll write my own.
- Download the latest version zones_table_rate_for_multiple_zones_1-1.zip from the first page of this thread.
- Unzip the file maintaining the directory structure of the zip file:
i.e. \zonetable\includes\languages\english\modules\shipping\zonetable.php
and \zonetable\includes\modules\shipping\zonetable.php- Copy these files to the existing directory structure of your Zen Cart installation
i.e. webroot\includes\languages\english\modules\shipping
and webroot\includes\modules\shipping- In Zen Cart admin go to Modules -> Shipping and you should see the new Zones Table Rate option at the bottom of the modules list.
- Click on Zones Table Rate and in the right hand column it should give you a "+Install" button, click on this and the installation is complete :clap:
You can now configure the module as discussed in this thread!
B
Hi
I have done exactly that and the Zones Table Rates is still not showing up in my Shipping Modules in Admin. Does anyone have any suggestions on what might be causing this. Have I missed a step somewhere, or not done something.....
I am using Zen Cart 1.3.8a
Thanks so much!!
Above the IF calling the cart function add a line:
global $cart;
You will also need to set up something to manage this in the admin as the cart doesn't exist in the Admin ... so you will probably get an error in the Modules ... Shipping ... without it ...
Thanks Linda! Ill give that a go.
Thanks to Lindas help and maxidvds initial code, I now have this module turning zone tables on or off according to their weight. :smile:
I had to tweak it a bit to only show the right table according to the weight.
Here's what I did (note that the weights are in grams);
Immediately beneath the closing '}' of this code;
Add this code;PHP Code:
// disable only when entire cart is free shipping
if (zen_get_shipping_enabled($this->code)) {
$this->enabled = ((MODULE_SHIPPING_ZONETABLE_STATUS == 'True') ? true : false);
}
The above code disables the zone for any weights over 3kgs (3000 grams) (and defaults to courier for us)PHP Code:
// Scotts mod: Enable only if cart contents are LESS than 3kg
global $cart;
if ($_SESSION['cart']->show_weight() > 3000) {
$this->enabled = false;
}
This code enables the other zone table (in our case Australia Post)
The initial code, if it had both tables set to the same weight (3000 in this case) - they would both show on an order weighing exactly 3kgs. So I set the second block of code to 3001.PHP Code:
// Scotts mod: Enable only if cart contents are HEAVIER than 3kg
global $cart;
if ($_SESSION['cart']->show_weight() < 3001) {
$this->enabled = false;
}
This code will work for lbs too, just set a much smaller number ;)
Oh, and I havent addressed what Linda mentioned above as Im not a programmer. :huh:
If you need to make changes to your shipping module in the admin, you would need to comment out or temporarily remove the code mentioned above.
Unless someone else wants to take care of it displaying in the admin properly? :smartalec:
You could probably just change the IF to:
and that should allow it to work in the Admin and Catalog ...Code:if (!IS_ADMIN_FLAG && $_SESSION['cart']->show_weight() < 3001) {
Thanks Linda, that makes sense. ill give it a go!
Just wanted to report that the;
worked a treat.Code:if (!IS_ADMIN_FLAG && $_SESSION['cart']->show_weight() < 3001) {
Thanks!
Scott.
Thanks for the update that this was able to help resolve your issues ... :smile:
I've just installed this module to provide the shipping I require. However, it is not showing the correct rates either on checkout or in the estimator. I have selected a shipping zone for zone 1 and installed the following (based on weight) >> 1.5:4.5,16.8:8.0,34:16.0,51:24.0,68:30.0,250:47, with a handling fee of 2.5 (plus VAT on the shipping). When I check out with 8.4 kgs I get a shipping charge of 2.94 ee.g. only the handling and the VAT. Any ideas where this might be going wrong?
I notice, by the way, that the module only shows up with a yellow dot under shipping modules. I haven't properly calibrated the other zones - I just wrote CALL for these (which probably won't work but didn't want to get into these right away).
This is the only shipping module I have in place.
Many thanks.
Could you remove the comma on the end:
Also check your Configuration ... Shipping/Packaging ... and make sure your Maximum Weight is set higher as you are showing you want to go to 250 and that your Tare Rates are 0:0 ...Quote:
1.5:4.5,16.8:8.0,34:16.0,51:24.0,68:30.0,250:47,
Thanks for your reply. I deleted the comma and checked the max ship weight which was already on 'no max'. I took the Tare to be 0:0 and still no difference.
Why is the shipping module showing up as yellow and is this connected to the problem?
Many thanks for all your help.
When you say the Max Weight is on no ... what do you mean?
Your Table Rates go to 250 lbs or whatever units you are using ... that means the Max Weight needs to be up to 250 or more or it cannot work ...
Yes, it works now. Thank you. For some reason the weight limit in Shop>Config seemed to have been set for a non numerate amt 'No limit'. This doesn't work - thanks for pointing it out to me. It needs to be a figure. I changed it and it works fine.
Is there any way tos et this up to work for, say, 8 zones?
1 Save all of your current settings in the Shipping Module to something like NotePad ...
2 REMOVE the shipping module - you will lose all of your settings so be sure you saved them SEE: #1
3 Make all of your Zones that you need
4 INSTALL the shipping module and reconfigure it for each Zone ...
Hi, I've set up 4 shipping zones to work with for now. 2 to the UK and 2 to the channel islands. Each destination has 1 priorty service and 1 standard service
Enable Table Method
True
Table Method
weight
Tax Class
Taxable Goods
Tax Basis
Shipping
Sort Order
1
Shipping Zone 1
UK Next Day
Zone 1 Shipping Table
.5:2.95,.75:3.95,1:4.95,1.5:5.95,2:7.95,4:16.00
Zone 1 Handling Fee
0
Shipping Zone 2
UK 2 Day Courier
Zone 2 Shipping Table
2:4.95,4:5.95,6:6.95,8:7.95,30:8.95
Zone 2 Handling Fee
0
Shipping Zone 3
Channel Islands 1/2 Day Priority
Zone 3 Shipping Table
.1:2.50,.5:4.50,1:6.75,2:8.95,10:18.50
Zone 3 Handling Fee
0
Shipping Zone 4
Channel Islands 3/5 Day Standard
Zone 4 Shipping Table
.5:2.50,.75:3.50,1:4.50,2:5.75,3:6.50,4:7.50,6:8.50,30:9.50
Zone 4 Handling Fee
0
When I process an order based on a UK shipping address only the UK 2 Day Courier (zone 2) is shown. The UK Next Day option does not appear. Also the shipping price shows up as £7.55 which is incorrect as it should be £4.95 for a 0.2kg weighted item.
When I change the delivery address to Gurnesy (channel Islands) again only the Channel Islands 3/5 Day Standard (zone 4) appears but this tiem the correct postage of £2.50 is being charged
Does any one have any idea's as to what is happening. The tare weight is set as zero but I'm wondering if I'm missing something here?
Thanks
Tony
***********
OK, I've worked out what the pricing error was but I still cant work out why its only electing to show one shipping zone when two are available. Looking at the above config and considering my problems I can now say
If I remove zone 2 (UK 2 Day Courier) and select it to none then zone 1 then (UK Next Day) appears to the customer.
If I re-add the UK 2 Day Courier zone but move this to zone 1 while maintaining zone 2 as UK Next Day then only zone 2 apprears to teh customer and zone one is no longer displayed as per the original error.
It seems to me that the system is not seeing the first options but defaulting to the second UK or Channel Island option
Zone 1 - UK Next Day (Does not see)
Zone 2 - UK 2 Day Courier (Defaults to)
Zone 3 - Channel Islands 1/2 Day Priority (Does not see)
Zone 4 - Channel Islands 3/5 Day Standard (Defaults to)
even if you have
Zone 1 - UK 2 Day Courier (Does not see)
Zone 2 - Channel Islands 1/2 Day Priority (Does not see)
Zone 3 - Channel Islands 3/5 Day Standard (Defaults to)
Zone 4 - UK Next Day (Defaults to)
Ideas please?
I'm having a similar problem. I want to have two zones available for each state, one that is for a commercial address and one for a residential address. Only one zone, residential, shows after a user selects his state. Any advice?
Thanks,
Peter
Is there a way to set it up so that only orders on International shipping of orders over 20lbs tell the customer to contact the shop owner?
:( is there anyone can help me....
how many zones that allowed for Zones Table shipping modules..cause i add more than 1500 zones, and the error log cache message like this.
[27-Apr-2010 19:48:49] PHP Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 14969608 bytes) in C:\AppServ\www\store\sufun\modules.php(286) : eval()'d code on line 1
I had the module running under Zen Cart 1.3.8a. Everything worked perfect. Today I've installed 1.3.9d from scratch. Defined 8 zones (status green). Then installed the module.
But the status of the module is orange. And only 3 zones are available for configuration. I think I did it correct but for making sure, I've deleted the module. Then deleted the two php files, uploaded again and reinstalled. But status still orange and still only 3 zones. I checked the whole forum thread but this was the only solution I could find.
Please help
Cheers
Ralph
plaz,
To have Zonetable provide more than one shipping option in a geographic area you need to "clone" it, which means to make a copy of both of the zonetable.php files, both renaming each, and making text edits in each.
I've attached ones that I made, make sure you put each file in the correct directory (as indicated in the filename -- you must rename both files to zonetableCourier.php for this example).
Hello All,
The string needed for zonetable shipping costs takes some time to prepare, and will likely need changes from the post office or other shipper tables (for example to include a fuel surcharge, insurance, or taxes), and then it needs to be updated when the shipping rates change. I have attached a spreadsheet to help with this.
Put your shipping weights in column A and the costs in column B (and update/add whatever changes are needed to these costs).
You can then just copy the string from cell A30 of the spreadsheet into the zonetable zone configuration.
Hi there,
I am using version 1.3.9, for some reason, even though I followed the instructions for installation perfect, this module simply does not show up under my shipping modules. This is the last thing outstanding before we can go live, does anyone know what may have happened?
Barend
When a shipping module does not show up, check that you have installed the components correctly ...
The code for the shipping module goes to:
/includes/modules/shipping
The language file for the shipping module goes to:
/includes/languages/english/modules/shipping
Note: the filenames need fixing
zonetableCourier (goes in Modules).php
is really
/includes/modules/shipping/zonetableCourier.php
zonetableCourier (goes in Languages).php
is really
/includes/languages/english/modules/shipping/zonetableCourier.php
If I had three criteria for shipping — Zone (state/country), Table (price range), and Speed (ground, next day, etc.) — would I be able to clone this module for that purpose?
In other words, have ZoneTableGround only available for Zone 1 customers and have its own Table Rate schedule, ZoneTable2DayAir for Zone 2 customers only, etc. Is that doable?
Hi! I've noticed through reading this thread that this is an effective shipping module that works for a lot of folks, but it's not working for me.
Forgive me in advance, I am dealing with someone else's zen cart build and am relatively unfamiliar with the inner workings of zen cart in general.
I'm running v1.3.8a with zone table v1.1. Other add-ons I've added are Fast and Easy Checkout v1.8 and CSS/JS Loader. To my knowledge those are the only supplemental modules/plugins.
Within the admin shipping module edit area, when I have Zone Table Rate selected (green) with a sort order of zero, everything else disabled and removed, 2 strange things are happening. I'm getting this text at the top of the admin page highlighted in yellow:
This doesn't make sense to me as I have literally removed all .php files in the /includes/modules/shipping directory to avoid any confusion. Yes, a free shipping module used to reside there.Code:Warning Shipping Configuration errors!
Warning: 0 weight is configured for Free Shipping and Free Shipping Module is not enabled
The other strange thing is that the zone table shipping option does not show up on the checkout page at all. All it says under the shipping field is: "Not Available At This Time
Sorry, we are not shipping to your region at this time.
Please contact us for alternate arrangements."
I know it's a lot, but if someone could point me in the right direction, or even the right thread, it would be greatly appreciated.
:D
Edit the setting in Configuration ... Shipping/Packaging ... and turn off the 0 weight means Free shipping ...
Thanks, Ajeh.
Now the admin error is gone, but I'm still getting the message in the shopping cart as mentioned before. And if I try to push through to checkout, it asks me in a red error message to "Please Select Shipping method", when there was no list to pick from.
Strange.
Thanks, Ajeh.
Make sure that you do not have Zones blocking your shipping from working ...