Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23
  1. #21
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: UPS shipping returns incorrect quotes

    So far, the only way I can see:
    United Parcel Service (14.20lbs) (2nd Day Air): $88.39

    on the checkout page is if I add Quantity 2 of products_id 121 with a 2lb attribute on it ...

    So a 4lb item with a 2lb Attribute adding the Tare Rate that you have set of 10:1 and the Handling 4.00 ...

    That gives a weight of 14.20lbs ... what is doubled 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: 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!

  2. #22
    Join Date
    Apr 2010
    Posts
    22
    Plugin Contributions
    0

    Default Re: UPS shipping returns incorrect quotes

    SOLVED:
    Its correctly quoting free shipping only carts with the change I made:

    Code:
    // bof: add back Always Free Shipping weight
    	$free_ship_weight = $_SESSION['cart']->free_shipping_weight;
    	if ($free_ship_weight > $total_weight){
    		$total_weight = $free_ship_weight;
    	}
    This corrected the shipping for free shipping carts and normal shipping carts, but fails to address mixed carts. Once I got a dump of the $_SESSION object, I was able to correct it. Here is the solution:

    Code:
    	// bof: add back Always Free Shipping weight
    		$total_weight = $_SESSION['cart']->free_shipping_weight + $_SESSION['cart']->weight;
    	// eof: add back Always Free Shipping weight
    Thanks for your responses! So relieved! :)
    Last edited by Phaylon; 26 Jul 2012 at 08:18 PM.

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

    Default Re: UPS shipping returns incorrect quotes

    Thanks for the update of what you had to do ...
    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!

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. v154 Always Free Shipping and UPS
    By joepixel in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 2 Feb 2016, 08:36 PM
  2. v139h Free shipping to just 1 country using free shipper and Yes, Always Free Shipping
    By boomy in forum Built-in Shipping and Payment Modules
    Replies: 9
    Last Post: 20 Oct 2014, 01:43 AM
  3. I want: Always Free Shipping to USA Only & No Shipping to Any Other Country
    By jane in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 11 Dec 2010, 01:46 AM
  4. Replies: 5
    Last Post: 10 Sep 2010, 01:50 AM
  5. How to show Free Shipping AND other shipping options?
    By LRS in forum Built-in Shipping and Payment Modules
    Replies: 12
    Last Post: 20 Jul 2010, 08:25 PM

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