Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Location
    Pollock Pines, CA
    Posts
    1
    Plugin Contributions
    0

    Default Drop Handling Fee if Order Over $50

    I am running version 1.3.8

    I want to have a handling fee for all UPS orders under $50. No problem that is easy to configure. I have not been able to find an option to drop the handling fee for orders over a certain dollar amount, in this case $50.

    Is there an easy way to do this?

    Thanks in advance

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

    Default Re: Drop Handling Fee if Order Over $50

    You can customize the code from:
    Code:
            $methods[] = array('id' => $type,
                               'title' => $this->types[$type],
                               'cost' => ($cost + MODULE_SHIPPING_UPS_HANDLING) * $shipping_num_boxes);
    to read:
    Code:
    // no handling on orders over 50.00
    global $cart;
            $methods[] = array('id' => $type,
                               'title' => $this->types[$type],
                               'cost' => ($cost + ($_SESSION['cart']->show_total() < 50 ? MODULE_SHIPPING_UPS_HANDLING : 0)) * $shipping_num_boxes);
    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
    Mar 2007
    Posts
    3
    Plugin Contributions
    0

    Default Re: Drop Handling Fee if Order Over $50

    Would I do something similar if I wanted to drop the handling fee (or reduce it) whenever the customer ordered only 1 item?

    I'm trying to lower the total shipping cost when customers are not spending too much. Currently using the USPS shipping module.

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

    Default Re: Drop Handling Fee if Order Over $50

    You can customize it in any manner you wish ...

    If you want 12 different test done, do the twelve different tests to determine what to do with the cost or handling etc.

    As long as it is logical, you can make it do anything you like ...
    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. Handling Fee
    By chris1974 in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 23 Mar 2011, 09:28 PM
  2. Handling fee
    By Hunterheads in forum Built-in Shipping and Payment Modules
    Replies: 14
    Last Post: 2 Apr 2010, 02:31 AM
  3. Handling fee as seperate line item on order and invoice
    By conmac863 in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 18 Jan 2009, 12:17 AM
  4. Handling Fee for Entire Order
    By dmungia in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 12 Oct 2007, 08:46 PM
  5. Charge a one-time shipping and handling fee per order
    By dharma in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 30 Apr 2007, 03:36 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