Table Rate Problems

Locked

Views: 3,872

Results 21 to 32 of 32
This thread is locked. New replies are disabled.
22 Oct 2008, 12:17 PM
#21
soul39 avatar

soul39

Zen Follower

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

Table Rate Problems

Mdfleury,

what shipping module are you using?
What file are you modifing?
Can you post some more details for; SHIPPING AND HANDLING
AND MODULES/SHIPPING

Soul39

22 Oct 2008, 12:23 PM
#22
soul39 avatar

soul39

Zen Follower

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

Re: Table Rate Problems

Mdfleury,

FORGET LAST POST. not thinking straight. I am at work you see, my brain gone to sleep.

Soul39

23 Oct 2008, 7:30 PM
#23
mdfleury avatar

mdfleury

New Zenner

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

Re: Table Rate Problems

Ajeh:

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:
> ```php
    if ( ($this->enabled == true) && ((int)MODULE_SHIPPING_TABLE_ZONE > 0) ) {

I need to do just like this, except instead of weight I need to do it by price? Is this possible? What do I use instead of show_weight()?

24 Oct 2008, 4:46 PM
#24
ajeh avatar

ajeh

Oba-san

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

Re: Table Rate Problems

See if $_SESSION['cart']->show_total() works for you on this ...

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!

28 Oct 2008, 2:41 PM
#25
mdfleury avatar

mdfleury

New Zenner

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

Re: Table Rate Problems

That worked. Thank you very much!

1 Nov 2008, 11:33 AM
#26
soul39 avatar

soul39

Zen Follower

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

Re: Table Rate Problems

Hi
Ajeh,

can you set both a high and low limit on the same module;
like SHOW ON IF VALUE IS BETWEEN 0.05 AND 50?

Because the products in my cart with 0kgs are set for FREE SHIPPING,
but the table rate shipping price shows as well. I just want the free shipping to show.

It would be nice if it was possible to have that feature when setting the rates.
so you can have something like; minimun shipping weight and the maximun shipping weight.
I think the feature is available in the BRM. But i am not yet at that level to duplicate it for this.
How would go about it?

Soul39

1 Nov 2008, 3:13 PM
#27
ajeh avatar

ajeh

Oba-san

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

Re: Table Rate Problems

There is a setting in the Shipping/Packaging where 0 weight means Free Shipping ...

You would want to turn on the Free Shipping freeshipper shipping module for this to work ...

When the Order has 0 weight, only the Free Shipping freeshipper shipping module will show ...

When the Order has > 0 weight, the Free Shipping freeshipper shipping module will NOT show ...

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!

1 Nov 2008, 5:29 PM
#28
soul39 avatar

soul39

Zen Follower

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

Re: Table Rate Problems

Hi, Ajeh,
you are right, as usual. I thought i had enabled it.
I also had freeoptions enabled instead of freeshipper.
What is the difference between the two?

many thanks,

Soul39

1 Nov 2008, 7:13 PM
#29
ajeh avatar

ajeh

Oba-san

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

Re: Table Rate Problems

Free Shipping freeshipper is triggered by:
0 weight on an order when 0 weight is defined to mean Free Shipping
This runs alone and no other shipping methods display

Free Shipping Options freeoptions is triggered by:
Settings based on Total, Item or Weight where you can set ranges to trigger a Free Shipping Option that WILL show with all other Shipping Methods ...

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!

2 Nov 2008, 9:57 AM
#30
soul39 avatar

soul39

Zen Follower

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

Re: Table Rate Problems

Ajeh,

thank you for the explaination.

Just to recap. if i wanted to offer free shipping on orders over £100
i would use the freeshipping options.
But that would not disable the other modules, why not?

Soul39

2 Nov 2008, 4:08 PM
#31
ajeh avatar

ajeh

Oba-san

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

Re: Table Rate Problems

Free Shipping Options freeoptions is just that ... an ability to add a Free Shipping method as an Option to the other shipping modules ...

Some may want to say, here is USPS and UPS but here is a Free Shipping Option ... but it is the Store choice on how it gets there ...

For Free Shipping to be the only choice when Orders are over $XX.XX you want to use the Modules ... Order Totals ... Shipping ot_shipping and set the Free Shipping for Orders over amount ...

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!

2 Nov 2008, 4:28 PM
#32
soul39 avatar

soul39

Zen Follower

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

Re: Table Rate Problems

Ajeh,
Thanks for the explaination. I think i finally got it.

Soul39