Table Rate Problems

Locked

Views: 3,872

Results 1 to 20 of 32
This thread is locked. New replies are disabled.
2 Oct 2008, 7:38 AM
#1
lynmangoro avatar

lynmangoro

New Zenner

Join Date:
Oct 2008
Posts:
3
Plugin Contributions:
0

Table Rate Problems

Hi, I am trying to configure the table rate shipping for my client but the shipping that gets charged seems to be more than I have set it to be. For example, a product in the store - angel cards - weighs 1lb and I would like the shipping to come out at $5 but it keeps coming out at $12. Please someone tell me what I'm doing wrong - I'm lost! Here are the settings I have:

1.1:5.00, 1.6:5.50, 2.1:6.00, 3.1:8.00, 4.1:10.00, 5.1:12.00, 6.1:14.00, 7.1:16.00, 8.1:18.00, 10.1:20.00

Many thanks in advance!

Lynda
www.mangoro.co.uk

8 Oct 2008, 8:36 PM
#2
lynmangoro avatar

lynmangoro

New Zenner

Join Date:
Oct 2008
Posts:
3
Plugin Contributions:
0

Re: Table Rate Problems

I really would appreciate any pointers anyone could give me as to why my shipping isn't coming out as I would expect it to.....anything? Please! Thank you.:(

9 Oct 2008, 3:14 AM
#3
ajeh avatar

ajeh

Oba-san

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

Re: Table Rate Problems

What are your Tare settings in the Configuration ... Shipping/Packaging ...

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!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

9 Oct 2008, 3:18 AM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Table Rate Problems

Using that string you posted, a 1lb Product comes out as $5.00 ... so do examine the Tare weight on the package as it looks like you have some configured ...

NOTE: you end in 10.1:20.00 ... so when I go over the amount, it will be $0.00 on shipping ...

Are you using the .1 for any particular reason vs 0 such as 1.1, 1.6, 2.1 vs 1.0, 1.5, 2.0?

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!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

9 Oct 2008, 1:15 PM
#5
fergusmacdonald avatar

fergusmacdonald

Zen Follower

Join Date:
Oct 2007
Location:
Edinburgh, Scotland
Posts:
243
Plugin Contributions:
0

Re: Table Rate Problems

On a side note, do you know if it's possible to restrict a table rate shipping module to below a certain weight?

IE, i don't want to allow sending via Letter Post (as an example) if the weight is over 5kg.

Thanks.

9 Oct 2008, 7:40 PM
#6
ajeh avatar

ajeh

Oba-san

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

Re: Table Rate Problems

Are you using another Shipping Module for the Letter Post or are you using an existing Shipping Module with the Text file changed to make it read as Letter Post?

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!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

9 Oct 2008, 8:05 PM
#7
fergusmacdonald avatar

fergusmacdonald

Zen Follower

Join Date:
Oct 2007
Location:
Edinburgh, Scotland
Posts:
243
Plugin Contributions:
0

Re: Table Rate Problems

Sorry - letter Post was just an example.

I am using a number of table rate shipping modules to offer multiple shipping services in the UK. However, it's illogical to offer some of the services above a certain weight because they become hugely uncompetitive, yet i'm faced with the problem that if i don't put prices above a certain weight (eg 50kg) they come up as £0.00, or i put prices which are extortionate and at what point do i stop putting prices - 100kg, 200kg, 1000kg etc?

Therefore, i am wondering if i'm able to define a maximum weight that a table rate shipping module will allow. My specific example is that i don't want to offer Royal Mail First Class Recorded delivery above 50kg as a courier is a lot cheaper.

9 Oct 2008, 8:49 PM
#8
ajeh avatar

ajeh

Oba-san

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

Re: Table Rate Problems

Depending on what you are doing, and how, there is in each of the Shipping Modules for:
$this->enabled

when that evaluates to false, then the shipping module does not show, when it evaluates to true, then the shipping module does show ...

In many of the shipping modules you will see the $this->enabled surrounded by an IF to control when it shows or does not show based on Free Shipping ...

You could do something similar to control your shipping module(s) based on weight or anything else you like ...

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!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

9 Oct 2008, 9:23 PM
#9
fergusmacdonald avatar

fergusmacdonald

Zen Follower

Join Date:
Oct 2007
Location:
Edinburgh, Scotland
Posts:
243
Plugin Contributions:
0

Re: Table Rate Problems

Thanks - i see the bit of code you mean and understand what needs done. Unfortunately i don't write code, so was hoping that you may know of something i could write directly into the shipping table box (like >50:false) but i guess it's not possible.

10 Oct 2008, 4:19 PM
#10
ajeh avatar

ajeh

Oba-san

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

Re: Table Rate Problems

Edit the Table Rate shipping module and add this code:

// don't show when over 50
global $cart;
if ((defined('IS_ADMIN_FLAG') && IS_ADMIN_FLAG == true) || $_SESSION['cart']->show_weight() > 50) {
  $this->enabled = false;
}

above this line of code:

    if ( ($this->enabled == true) && ((int)MODULE_SHIPPING_TABLE_ZONE > 0) ) {

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!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

13 Oct 2008, 3:58 PM
#11
fergusmacdonald avatar

fergusmacdonald

Zen Follower

Join Date:
Oct 2007
Location:
Edinburgh, Scotland
Posts:
243
Plugin Contributions:
0

Re: Table Rate Problems

Brilliant, thank you very much - that works perfectly.

Do you know if it's possible to do something similar for the zone rate shipping module?

13 Oct 2008, 4:06 PM
#12
ajeh avatar

ajeh

Oba-san

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

Re: Table Rate Problems

Same thing ... the flow of the code is very similar it just changes the constant in the line for where to put this ...

The code is generic and can be run in any shipping module:

// don't show when over 50
global $cart;
if ((defined('IS_ADMIN_FLAG') && IS_ADMIN_FLAG == true) || $_SESSION['cart']->show_weight() > 50) {
  $this->enabled = false;
} 

You just need to put it in the right location of the code ...

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!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

13 Oct 2008, 4:10 PM
#13
fergusmacdonald avatar

fergusmacdonald

Zen Follower

Join Date:
Oct 2007
Location:
Edinburgh, Scotland
Posts:
243
Plugin Contributions:
0

Re: Table Rate Problems

OK, brilliant. Can you tell me where to put the code in the zones module.
Thanks.

13 Oct 2008, 4:37 PM
#14
ajeh avatar

ajeh

Oba-san

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

Re: Table Rate Problems

Try placing it above:

      // CUSTOMIZE THIS SETTING FOR THE NUMBER OF ZONES NEEDED
      $this->num_zones = 3;

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!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

13 Oct 2008, 5:10 PM
#15
fergusmacdonald avatar

fergusmacdonald

Zen Follower

Join Date:
Oct 2007
Location:
Edinburgh, Scotland
Posts:
243
Plugin Contributions:
0

Re: Table Rate Problems

Brilliant, works perfectly. Thank you very much for your help, much appreciated.

16 Oct 2008, 1:06 PM
#16
soul39 avatar

soul39

Zen Follower

Join Date:
Jul 2008
Location:
london
Posts:
167
Plugin Contributions:
0

Re: Table Rate Problems

Hi, sorry for butting in,
i think i understand how the table rate works, you set postage for different weights.
And you need to do that for every form of shipping. eg, first class, std parcels, second class, parcel post etc.
It that case, if you offer 4 differnt types of shipping you would need 4 table rates ( 4 modules). but where is it? and where can i find a tutorial on it, please.

So in the case of the "bigroyal mail module", it has already been done for you. (The tables)Am i understanding this correctly?

Someone, Please enlighten me!

Many thanks in advance for your help!

16 Oct 2008, 4:17 PM
#17
fergusmacdonald avatar

fergusmacdonald

Zen Follower

Join Date:
Oct 2007
Location:
Edinburgh, Scotland
Posts:
243
Plugin Contributions:
0

Re: Table Rate Problems

Soul39:

Hi, sorry for butting in,
i think i understand how the table rate works, you set postage for different weights.
And you need to do that for every form of shipping. eg, first class, std parcels, second class, parcel post etc.
It that case, if you offer 4 differnt types of shipping you would need 4 table rates ( 4 modules). but where is it? and where can i find a tutorial on it, please.

So in the case of the "bigroyal mail module", it has already been done for you. (The tables)Am i understanding this correctly?

Someone, Please enlighten me!

Many thanks in advance for your help!

Hey. Yes, if you want to use table rate shipping modules for more than one type of shipping, then you need to have multiple table rate modules installed. You can download and addon to do this here: http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_51&products_id=966 and i also found a thread in the support forum which tells you how to do it manually.

I had Big Royal Mail installed, but chose to add multiple table rates as they are simpler and display the shipping information at the front end in the same format as my other shipping modules.

16 Oct 2008, 8:47 PM
#18
soul39 avatar

soul39

Zen Follower

Join Date:
Jul 2008
Location:
london
Posts:
167
Plugin Contributions:
0

Re: Table Rate Problems

hi,
did you unstall the Big royal mail module (BRMM)? or installed the additional rate table along side?

how many tables do you use, and their descriptions?

i am only looking to ship within the uk, so will only need;
first class; large letter and packets
second class, large letter and packets
standard parcel up to £100.
and a call for price.
can you add a link to that helpful thread, much appreciated.

Mucn thanks in advance for your help.

17 Oct 2008, 12:20 PM
#19
soul39 avatar

soul39

Zen Follower

Join Date:
Jul 2008
Location:
london
Posts:
167
Plugin Contributions:
0

Re: Table Rate Problems

Hi,
is this the helpful thread that you used'
http://www.zen-cart.com/forum/showthread.php?p=555719
i would like to know, as i am very intrested in doing the same

i had a look at you cart, Looks very proffessional. At the checkout, in estimate shipping, does the customer select the sort of shipping that they want?

Much thanks for any help, no matter how small.

Soul39

21 Oct 2008, 3:35 PM
#20
mdfleury avatar

mdfleury

New Zenner

Join Date:
Oct 2008
Posts:
3
Plugin Contributions:
0

Re: Table Rate Problems

I want to do this by price, so what do I put in place of show_weight? I tried display_price and show_price but that just breaks my page.