Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2007
    Posts
    7
    Plugin Contributions
    0

    Default Help with Table Rates

    Hi from a newby here

    I have looked everywhere but cant seem to find an answer to ending the table rate. What I am trying to do is include Australian Post Packs one for 3kg and one 5kg. Anything over 5kg will be calculated by the Australian Post module. At the moment the table rate keeps on calculating $0.00 for over 5kg. How do I tell it to finish at 5kg?

    Sorry for the ramble and I will appreciate any help. Thanks Sarah

  2. #2
    Join Date
    Aug 2007
    Posts
    7
    Plugin Contributions
    0

    Default Re: Help with Table Rates

    I found this solution from Fluxmaster, but I can not seen to get it to work. Can somebody explain where I should be putting this code? Any other suggestions welcome.

    I hacked a horrid little answer to this.


    Code:
    $table_cost = split("[:,]" , MODULE_SHIPPING_TABLE_COST);
    $size = sizeof($table_cost);
    for ($i=0, $n=$size; $i<$n; $i+=2) {
    if ($order_total <= $table_cost[$i]) {

    if ($table_cost[$i+1] ==10000){
    $shipping = "die";
    } else{
    $shipping = $table_cost[$i+1];
    }
    break;
    }
    }
    If $this->quotes['methods'][0]['cost'] set to 0 still gives value of $0.00 shipping. Why?

    So I check to see shipping is set to a value, and return nothing if its set to "die" or 0. If I did more object oriented coding I might offer better solution.. So make the quote function return nothing.

    line ~ 114

    Code:
    if ($shipping != "die") {
    return $this->quotes;
    }It works ok but not great - still would take suggestions.

  3. #3
    Join Date
    Aug 2007
    Posts
    7
    Plugin Contributions
    0

    Default Re: Help with Table Rates

    Bump .... still not having any luck with this, much appreciate any help or other suggestions for post pack satchels 3kg and 5kg after which postage is calculated by the Aust Post Mod. Thanks

  4. #4
    Join Date
    Feb 2006
    Location
    Central Coast, NSW, Australia
    Posts
    560
    Plugin Contributions
    0

    Default Re: Help with Table Rates

    Quote Originally Posted by tegz1 View Post
    Bump .... still not having any luck with this, much appreciate any help or other suggestions for post pack satchels 3kg and 5kg after which postage is calculated by the Aust Post Mod. Thanks
    Did anyone have any luck on this one..?

    I've just come across the same requirement whereby I want to offer a 3Kg Overnight Service via the Table Rate, but once the weight goes over 3Kg, then the Table Rate should no longer present an option, just the Aust Shipping Mod

  5. #5
    Join Date
    Feb 2006
    Location
    Central Coast, NSW, Australia
    Posts
    560
    Plugin Contributions
    0

    Default Re: Help with Table Rates

    Quote Originally Posted by tegz1 View Post
    Bump .... still not having any luck with this, much appreciate any help or other suggestions for post pack satchels 3kg and 5kg after which postage is calculated by the Aust Post Mod. Thanks
    Quote Originally Posted by Mike_Dean View Post
    Did anyone have any luck on this one..?

    I've just come across the same requirement whereby I want to offer a 3Kg Overnight Service via the Table Rate, but once the weight goes over 3Kg, then the Table Rate should no longer present an option, just the Aust Shipping Mod
    A quick work around..

    In the Shipping Table in Admin\Shipping Modules\Table Rate, I have entered 3:10.454545 (3 being the maximum weight for this option and the 10.454545 the price. If you wanted to offer a 5K then it could be 3:10.454545,5:15.656565) Once the shipping weight exceeds the set weight, the shipping estimator will return $0.00. All I then did was add some text to read (This option only available upto 3K)

    Probably not the preferred method, but it works...

 

 

Similar Threads

  1. Cloned table rates with zones - is this possible?
    By petersonfenn in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 24 Nov 2011, 10:48 AM
  2. Help Shipping Rates table
    By dmagic in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 5 Jul 2010, 09:34 AM
  3. Adding additional table rates to single module - help with php
    By brynesch in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 11 Feb 2010, 08:13 AM
  4. Google Checkout with Table shipping rates? is it possible?
    By edwardtilbury in forum Addon Payment Modules
    Replies: 1
    Last Post: 12 Mar 2009, 04:00 PM
  5. Need help shipping based on table rates
    By diktusit in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 29 May 2008, 04:52 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR