Oba-san
- Join Date:
- Sep 2003
- Location:
- Ohio
- Posts:
- 62,757
- Plugin Contributions:
- 1
Zones Table Rate Shipping Module
Once your Zone Table Rate zonetable is working ... then you should remove any shipping modules that you are not actually using ...
Views: 127,539
Oba-san
Once your Zone Table Rate zonetable is working ... then you should remove any shipping modules that you are not actually using ...
Zen Follower
Sure, I think it is making sense now :smile:
Its all about asking the right question.. Your question in thread #254 is what I actually wanted but was not able to put in those words.
Now India has 28 states, which I need to bundle under these four zones :smile:
I have decided to do it in the morning.
Thanks Again !
Oba-san
Let us know how things work out for you ...
Zen Follower
I am so glad to see all my zones in the drop box! :clap:
I am going to configure them now.
Thanks !
Oba-san
You are most welcome ... glad to hear things are coming together for you ... :smile:
New Zenner
Hi,
Im using 1.5.1 and this shipping module. I have duplicated it successfully to do one weight based and one item based.
I have a need to be able to disable this shipping module over a certain weight as over this weight, we will begin to price by item. This threshold needs to at around 150. I have tried some of the hacks suggested for UPS and USPS modules on varying lines within the file, but to no avail. Can anyone give me a steer if they have managed something similar?
Thanks
Oba-san
You can customize the file:
/includes/modules/shipping/zonetable.php
(or which ever shipping module you are trying to turn off)
with the code in RED for:
if (zen_get_shipping_enabled($this->code)) {
$this->enabled = ((MODULE_SHIPPING_ZONETABLE_STATUS == 'True') ? true : false);
}
[B]// bof: disable for weight >= 150
if (!IS_ADMIN_FLAG && $_SESSION['cart']->show_weight() >= 150) {
$this->enabled = false;
}
// eof: disable for weight >= 150
[/B] if ($this->enabled == true) {
New Zenner
Bang on!! Thanks Ajeh!
Oba-san
You are most welcome, thanks for the update that this can work for you ... :smile:
Zen Follower
Hi Ajeh,
If you scroll up this page, you would recollect that you had helped me to set up my zones. Other things came up, so I could not set up the zone table after that. Now I have upgraded to 1.5.1
I have entered all information as per my zones and rates. But the icon is yellow. And the rates are also not being shown in shipping estimator.
Another weird thing is that if I put sort order as '4', I get a duplicate sort order warning; though as you can see in the image, I have not put '4' as sort order Sort order for anything elsed. '1' is not giving that warning.
please guide me again.
Oba-san
Yellow is okay and on the Sort Order just make sure you do not get the duplicate warning ...
When you go to Locations / Taxes ... Zones ... under the Country for India, what Zones do you see?
Zen Follower
Ajeh:
When you go to Locations / Taxes ... Zones ... under the Country for India, what Zones do you see?
I had installed a Plug-in to get Indian Zones. ( Zones-India edited by relish). Then I added the additional zones that I needed for my shipping mechanism. So , Under Locations/Taxes.. Zones.. under the country for India, there are in a whole lot of zones ( 38 to be precise) and that also has the zones added by me.
I did a trial order and the invoice looks like this:
The Zone table pricing should have been 30 Rs ( shipping zone 2, Karnataka), but its 0. I am attaching the zonetable configuration again, for your reference :
Please let me know, where am I going wrong.
Thanks
Oba-san
Can you post the settings on each of the Zone Shipping Table settings ... I cannot read them clearly in the image ...
Zen Follower
sure : Here it goes :
Zen Follower
OOps, pressed enter a little too soon.
Shipping Zone 1 : Local
Zone 1 Shipping Table : 0.250:20,1:30
Zone 1 Handling Fee : 0
Shipping Zone 2 : Karnataka
Zone 2 Shipping Table : 0.250:30,1:40
Zone 2 Handling Fee : 0
Shipping Zone 3 : South
Zone 3 Shipping Table :0.250:40,1:55
Zone 3 Handling Fee : 0
Shipping Zone 4 : Rest of india
Zone 4 Shipping Table :0.250:45,1:85
Zone 4 Handling Fee : 0
Oba-san
If you edit the Product, what is the Product Weight set to?
Do you have it marked as:
Product is Virtual: NO
Always Free Shipping: No, Normal Shipping Rules
Zen Follower
The weight is 0.5
and the settings are same as you mentioned :
Product is Virtual: NO
Always Free Shipping: No, Normal Shipping Rules
Is it that fraction is causing an issue ?
Oba-san
The next thing to check are the settings on the Configuration ... Shipping/Packaging ...
Then, check your Zone Definition for Karnataka, what do you have on the DETAILS ...
Zen Follower
Configuration ... Shipping/Packaging ... I found two corrections that I felt were to be made:
In Zone definition for Karnataka, when I click Details : The row shows: Under Country - "India" and under Zone "Karnataka".
This definition looks alright to me.
I will try a test order now with the configuration changes.
Thanks
Zen Follower
I did a dummy order again.
The product weight is 0.250 gm, as entered ( and double checked) in the admin panel.
This is what the estimator shows :
Also, regardless of the state I select, the weight comes to be the same : 5.26lbs ; and rate is 0
Not sure what's wrong. I am disabling the module as of now, and will keep the flat rate one on. Please advice
Tell staff why this post should be reviewed.