Zen Cart Logo
Forums / Addon Shipping Modules / Zones Table Rate Shipping Module

Zones Table Rate Shipping Module

Views: 127,539

Results 121 to 140 of 316
10 Feb 2009, 6:37 AM
#121
geofftech avatar

geofftech

New Zenner

Join Date:
Jun 2006
Posts:
6
Plugin Contributions:
0

Zones Table Rate Shipping Module

Globie:

And how do you add states instead of countries?

When you add a country, there is a pull down list under it that has all the states - the default setting being "all states"

You will need to select the state you want and repeat this procedure for all the states you require in that zone.

10 Feb 2009, 5:42 PM
#122
globie avatar

globie

Zen Follower

Join Date:
Aug 2008
Posts:
134
Plugin Contributions:
0

Re: Zones Table Rate Shipping Module

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/showthread.php?p=683232#post683232

Thanks so much. That really helped!

6 Mar 2009, 12:40 PM
#123
jimi6996 avatar

jimi6996

New Zenner

Join Date:
Feb 2009
Posts:
1
Plugin Contributions:
0

Re: Zones Table Rate Shipping Module

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 :)

6 Mar 2009, 7:54 PM
#124
meshgraphics avatar

meshgraphics

New Zenner

Join Date:
Mar 2008
Location:
Ontario
Posts:
42
Plugin Contributions:
0

Re: Zones Table Rate Shipping Module

When a customer has cart content of say 50kg, basically only Zones Table Rate 2 should be displayed

I dont think it makes any claim to work in that way :(

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

17 Mar 2009, 1:48 PM
#125
tbee avatar

tbee

New Zenner

Join Date:
Mar 2009
Posts:
15
Plugin Contributions:
0

Re: Zones Table Rate Shipping Module

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:

		// 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');
			}
		}
19 Mar 2009, 6:29 AM
#126
mrrcomp avatar

mrrcomp

New Zenner

Join Date:
Apr 2007
Posts:
68
Plugin Contributions:
0

Re: Zones Table Rate Shipping Module

surf7.net:

If you have multiple shipping zones and you are not using this module, you cannot set table rate for more than one zone because the current built in table rate module is limited to only one zone.

I have modified the built in table rate module so that I can set separate table rate for each zones. Enjoy!
HI

Can you tell me do i install these files to the admin area or the regular area?

Regards

Meir R.

30 Mar 2009, 5:49 AM
#127
braiden1 avatar

braiden1

New Zenner

Join Date:
Mar 2009
Posts:
13
Plugin Contributions:
0

Re: Zones Table Rate Shipping Module

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.

31 Mar 2009, 5:18 AM
#128
tbee avatar

tbee

New Zenner

Join Date:
Mar 2009
Posts:
15
Plugin Contributions:
0

Re: Zones Table Rate Shipping Module

mrrcomp:

Can you tell me do i install these files to the admin area or the regular area?

Regular

31 Mar 2009, 5:21 AM
#129
tbee avatar

tbee

New Zenner

Join Date:
Mar 2009
Posts:
15
Plugin Contributions:
0

Re: Zones Table Rate Shipping Module

braiden1:

How do i get the module to allow me to define more than 3 zones?

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.

31 Mar 2009, 2:08 PM
#130
francesca_ph avatar

francesca_ph

New Zenner

Join Date:
Jun 2008
Posts:
37
Plugin Contributions:
0

Re: Zones Table Rate Shipping Module

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~

29 Apr 2009, 8:45 PM
#131
r1formetoo avatar

r1formetoo

Zen Follower

Join Date:
Sep 2008
Posts:
429
Plugin Contributions:
0

Re: Zones Table Rate Shipping Module

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

30 Apr 2009, 5:07 AM
#132
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Zones Table Rate Shipping Module

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 ...

30 Apr 2009, 5:44 PM
#133
r1formetoo avatar

r1formetoo

Zen Follower

Join Date:
Sep 2008
Posts:
429
Plugin Contributions:
0

Re: Zones Table Rate Shipping Module

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

30 Apr 2009, 6:21 PM
#134
r1formetoo avatar

r1formetoo

Zen Follower

Join Date:
Sep 2008
Posts:
429
Plugin Contributions:
0

Re: Zones Table Rate Shipping Module

charmedbytina2:

Thanks for the response - that's what I thought, but wanted to verify!
GREAT module!!!

Tina

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

1 May 2009, 4:17 PM
#135
r1formetoo avatar

r1formetoo

Zen Follower

Join Date:
Sep 2008
Posts:
429
Plugin Contributions:
0

Re: Zones Table Rate Shipping Module

bump bump

1 May 2009, 7:51 PM
#136
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Zones Table Rate Shipping Module

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

1 May 2009, 8:12 PM
#137
r1formetoo avatar

r1formetoo

Zen Follower

Join Date:
Sep 2008
Posts:
429
Plugin Contributions:
0

Re: Zones Table Rate Shipping Module

Ajeh:

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

I checked and I got um right.

Ian

1 May 2009, 8:25 PM
#138
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Zones Table Rate Shipping Module

Perhaps save your settings then REMOVE, INSTALL and reconfigure the shipping module ...

1 May 2009, 9:18 PM
#139
r1formetoo avatar

r1formetoo

Zen Follower

Join Date:
Sep 2008
Posts:
429
Plugin Contributions:
0

Re: Zones Table Rate Shipping Module

Ajeh:

Perhaps save your settings then REMOVE, INSTALL and reconfigure the shipping module ...

I've tried deleting the 2 files, then reloading my shipping modules page to clear it from the system and then reuploading the two files but the problem remains.

Ian

4 May 2009, 3:32 PM
#140
r1formetoo avatar

r1formetoo

Zen Follower

Join Date:
Sep 2008
Posts:
429
Plugin Contributions:
0

Re: Zones Table Rate 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