Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Join Date
    Sep 2009
    Posts
    16
    Plugin Contributions
    0

    Default Table Rate Module

    I have setup a table rate module for my shipping costs which seems to be working fine and works on the weight fo the items, however I want to add another table rate system that works on the cost of the item. I want to add 80p to the cost of shipping for all items over £10 for recorded delivery.

    Is there any way of making this work?

    Liam

  2. #2
    Join Date
    Sep 2009
    Posts
    16
    Plugin Contributions
    0

    Default Re: Table Rate Module

    Any one able to help me here?

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

    Default Re: Table Rate Module

    If I buy 1 item at $10 ... the charge is $80?

    If I buy 3 items at $10 ... the charge is $240?

    What if I buy 1 item at $5 and 1 item at $10?

    What if I buy 3 items at $5 and 2 item at $10?

    You need to break down the details a lot more ...
    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!

  4. #4
    Join Date
    Sep 2009
    Posts
    16
    Plugin Contributions
    0

    Default Re: Table Rate Module

    Hmmm are you able to help?

    Basically I have standard prices for UK aswell as International (both different), these prices depend upon the weight.

    How do I combine postage using modules? along with adding an extra £0.80 if the combined order is over £10?

    Thanks in advance

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

    Default Re: Table Rate Module

    You can use the $order_total_amount to check the order total to see if you should add the extra charge to:
    Code:
        $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)));
    Something like:
    Code:
        $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 + ($order_total_amount > 10 ? .80 : 0))));
    Now if you need .80 per Item over 10.00 then you would need to do a little more customization here ...
    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!

  6. #6
    Join Date
    Sep 2009
    Posts
    16
    Plugin Contributions
    0

    Default Re: Table Rate Module

    What file is that in?

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

    Default Re: Table Rate Module

    Shipping Modules are all in the:
    /includes/modules/shipping

    The Table Rate is in the file:
    table.php
    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!

  8. #8
    Join Date
    Sep 2009
    Posts
    16
    Plugin Contributions
    0

    Default Re: Table Rate Module

    So that code example you gave me would work? Or I need to edit it more...

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

    Default Re: Table Rate Module

    The code example I gave adds .80 to the shipping if the total is > 10 ...

    You can customize that further as needed ...
    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!

  10. #10
    Join Date
    Sep 2009
    Posts
    16
    Plugin Contributions
    0

    Default Re: Table Rate Module

    Will it add it onto the estimate shipping bit too?

    My shipping is showing in lbs, how do I change that?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Table Rate - Shipping Module
    By Lazar in forum General Questions
    Replies: 4
    Last Post: 12 Feb 2011, 02:42 PM
  2. Table Rate Module
    By djboyd in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 29 Apr 2010, 04:34 PM
  3. Table Rate Module - Table Method "item"
    By MartynG in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 10 Jun 2009, 06:13 AM
  4. Duplicate Table Rate Module
    By d1rage5 in forum Addon Shipping Modules
    Replies: 2
    Last Post: 8 Jul 2008, 06:12 AM
  5. Duplicate Table Rate Module
    By CnTGifts in forum Addon Shipping Modules
    Replies: 2
    Last Post: 27 May 2008, 04:19 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