Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2009
    Plugin Contributions

    help question Discount on U.P.S Shipping

    Hello everyone,
    i am looking to get ups rates then give a dollar or % discount to them before showing it to my customers, Example: you ad product to my cart, click on estimate shipping cost, ups gives a next day air rate of $45.00, i want to give a 25% discount to that rate, making the rate shown to customer $33.75 for next day air.

    does anyone know if this can be done?

    thank you for your time in this matter

  2. #2
    Join Date
    Sep 2003
    Plugin Contributions

    Default Re: Discount on U.P.S Shipping

    Customize the UPS shipping module with something like:
            // EOF: UPS USPS
    echo 'I SEE ' . $type . '<br>';
    $discount = 0.00;
    if ($type == '1DA') {
      $discount = .75;
            $methods[] = array('id' => $type,
                               'title' => $this->types[$type],
                               'cost' => (($cost * $discount) + MODULE_SHIPPING_UPS_HANDLING) * $shipping_num_boxes);
    What that will do is show you the value of the $type and apply a 25% discount when set to 1DA ...

    This let's you see the $type and you can build your IF conditions from that ... later comment out the echo with // in front of it ...

    NOTE: your screen will look goofy as heck ... but it is a quick way to see what needs to be customized ...
    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: v1.5.5]
    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. Quantity discount - Discount shipping
    By bpoilspill in forum Addon Payment Modules
    Replies: 1
    Last Post: 12 Jul 2012, 12:21 AM
  2. Discount coupon with free shipping and free shipping if purchasing additional product
    By webmiss in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 4 May 2012, 02:04 PM
  3. Set max discount for Group Discount + Discount + etc.
    By KEnik in forum Setting Up Specials and SaleMaker
    Replies: 0
    Last Post: 16 Jun 2010, 05:39 PM
  4. Discount on Shipping
    By silverspring in forum General Questions
    Replies: 1
    Last Post: 22 Oct 2008, 10:09 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
Zen-Cart, Internet Selling Services, Klamath Falls, OR