Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2012
    Posts
    15
    Plugin Contributions
    0

    Default Use Table rate to a point, then ignore

    Hi all.
    I have a good install going with 1.51 using the USPS shipping module and all has been well.

    However I have small stickers for sale and they fit neatly in a first class envelope. The USPS module doesn't seem to like going below a certain rate no matter what I do so I have been using a table rate to give a price of .80 cents for 3 stickers, but if a customer orders a magnet with a sticker the gross wieght of the order is outside of the first class envelope range.

    What happens is that when it goes over the weight for the minimal table weight the rate goes to zero. I had thought that this would make the USPS module take over the shipping but what happens is the the "Best Rate" is put at a table rate of $0.00

    What I would like to happen is have the table rate apply for the rate I put in up to a certain weight, but then go away as an option above a certain weight.

    Is this possible?

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Use Table rate to a point, then ignore

    Could you give more details about what the weight is when the Table Rate table Shipping module should be disabled?
    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!

  3. #3
    Join Date
    Sep 2012
    Posts
    15
    Plugin Contributions
    0

    Default Re: Use Table rate to a point, then ignore

    I had
    .18:.80,.25:1.50

    Weight is lbs. these weights will be tweaked as I use it more but after .25 lbs the USPS module works fine.

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Use Table rate to a point, then ignore

    So are you saying you want it to turn off on a weight > .25?

    If so, you can customize the file:
    /includes/modules/shipping/table.php

    and in the function quote, add the code in RED:
    Code:
    // bof: disable shipping module > .25
    if ($shipping_weight > .25) {
      // skip shipping
    } else {
      // show shipping
        $this->quotes = array('id' => $this->code,
        'module' => MODULE_SHIPPING_TABLE_TEXT_TITLE . $show_box_weight,
        'methods' => array(array('id' => $this->code,
        'title' => MODULE_SHIPPING_TABLE_TEXT_WAY,
        'cost' => $shipping + (MODULE_SHIPPING_TABLE_HANDLING_METHOD == 'Box' ? MODULE_SHIPPING_TABLE_HANDLING * $shipping_num_boxes : MODULE_SHIPPING_TABLE_HANDLING) ) ));
    }
    // eof: disable shipping module > .25
    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!

  5. #5
    Join Date
    Sep 2012
    Posts
    15
    Plugin Contributions
    0

    Default Re: Use Table rate to a point, then ignore

    Thats it! Thanks!

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Use Table rate to a point, then ignore

    You are most welcome ... thanks for the update that this works for you ...
    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!

 

 

Similar Threads

  1. Replies: 3
    Last Post: 5 Nov 2012, 06:55 PM
  2. v139f Use flat rate up to a certain weight, then use USPS
    By WhiteWolf in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 26 Jun 2012, 03:21 AM
  3. v139h Table rate by items needs to disappear at a specific point.
    By delia in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 13 Jun 2012, 12:21 AM
  4. I use Table rate by weigh. I want free shipping when total over $100, how?
    By weber in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 28 May 2007, 02:40 PM

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