Results 1 to 8 of 8
  1. #1
    Join Date
    Jan 2010
    Posts
    96
    Plugin Contributions
    0

    Default Adding a UPS shipping discount

    I have a shipping discount with UPS and want to know how that can show up in the shipping calculator/total

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Adding a UPS shipping discount

    Is it a flat $ discounr, a standard %, or what?
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jan 2010
    Posts
    96
    Plugin Contributions
    0

    Default Re: Adding a UPS shipping discount

    flat rate % just for Next Day Air

  4. #4
    Join Date
    Jan 2010
    Posts
    96
    Plugin Contributions
    0

    Default Re: Adding a UPS shipping discount

    Anyone?

  5. #5
    Join Date
    Jan 2010
    Posts
    96
    Plugin Contributions
    0

    Default Re: Adding a UPS shipping discount

    Ok I found this
    http://www.zen-cart.com/forum/showth...pping+discount

    Question is where do I add the 18% discount number?
    (below is a copy from the link above. I need to know where to put my 18% discount.
    I am assuming is goes where the $discount = .75; is and if that is the case do I just put .18? I wanted to double check before I go messing with things
    // 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);

  6. #6
    Join Date
    Jan 2010
    Posts
    96
    Plugin Contributions
    0

    Default Re: Adding a UPS shipping discount

    anyone?

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

    Default Re: Adding a UPS shipping discount

    You need to be careful ... if you use $discount of .75 when this is true, but then use $discount of 0.00 when not true, then you have $cost * 0.00 when not true ... and that would be 0.00 ...

    You might set the default to 1.00 for the $discount and then it would be altered to .75 for the $discount when the condition is met ...

    To test it, run this without the discount set ... then run again with the discount set and see if your discount is applied correctly ...
    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!

  8. #8
    Join Date
    Jan 2010
    Posts
    49
    Plugin Contributions
    0

    Default Re: Adding a UPS shipping discount

    I don't know about the shipping calculator, but would it be too complicted to set the shipping rates?

    I'm in europe so...

    1kg = 1
    2kg = 1.50
    3kg = 2

    and then just change all the amounts by the percentage? so 5% discount =

    1kg = .95
    2kg = 1.43
    3kg = 1.90

    Or is that not helpful cos you want to keep the calculator?

 

 

Similar Threads

  1. v151 UPS - bulk/discount shipping price configuration
    By bobmeetin in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 18 Jan 2013, 06:24 PM
  2. UPS Shipping adding 3 lbs?!?!
    By heimskr in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 11 Jul 2011, 11:39 AM
  3. Adding Canada to UPS Shipping Module problem
    By Mickmo68 in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 10 Jun 2009, 03:53 PM
  4. can you give a % discount on the UPS shipping mod ?
    By snarkys in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 4 Oct 2007, 12:30 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR