Thread: Table rate

Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2011
    Posts
    27
    Plugin Contributions
    0

    Default Table rate

    1.3.9h new install

    Need table rate to show $7.50 up to 1.5 lbs, and nothing above that.

    Basically allow small purchases to have a flat rate, but larger to use the UPS module.
    I have 1.5:7.50 but if it's over 1.5 lbs they get $0 shipping.
    I don't really want to put a rediculous value in the above 1.5lb tabel if I can help it.

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

    Default Re: Table rate

    To turn off the Table Rate table shipping module, you can customize the code in:
    /includes/modules/shipping/table.php

    by adding the code in RED with:
    Code:
        // disable only when entire cart is free shipping
        if (zen_get_shipping_enabled($this->code)) {
          $this->enabled = ((MODULE_SHIPPING_TABLE_STATUS == 'True') ? true : false);
        }
    
    // bof: disable if weight is over 1.5
        if (!IS_ADMIN_FLAG) {
          global $cart;
          $test_total_weight = $_SESSION['cart']->show_weight();
          if ($test_total_weight > 1.5) {
            $this->enabled = false;
          }
        }
    // eof: disable if weight is over 1.5
    
        if ($this->enabled) {
    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
    Jul 2011
    Posts
    27
    Plugin Contributions
    0

    Default Re: Table rate

    thank you!!

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

    Default Re: Table rate

    You are most welcome ...
    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. table rate + base rate for few larger items?
    By Sancho in forum Built-in Shipping and Payment Modules
    Replies: 13
    Last Post: 9 Sep 2010, 07:23 PM
  2. Chaning name for table rate and Zone Rate
    By undah in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 22 Feb 2009, 03:54 PM
  3. Table rate showing £0.00 if over maximum rate defined
    By e-hol.co.uk in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 9 Oct 2008, 04:20 PM
  4. Table Rate does not show up, Zone Rate calculation is incorrect
    By salocreative.com.au in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 17 Mar 2008, 03:56 AM

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