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

    Default Re: UPS shipping returns incorrect quotes

    You do not have this Product marked as Virtual or Always Free Shipping and there isn't a Download on it ... correct?

    Do you have a link to this Products URL to see what it is doing?

    What charges are you expecting on UPS for this Product?

    What charges are you seeing?

    What is your Ship From?

    What is the Ship To?
    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. #12
    Join Date
    Apr 2010
    Posts
    22
    Plugin Contributions
    0

    Default Re: UPS shipping returns incorrect quotes

    First, I really want to say thanks for helping me out. Troubleshooting through forums cant be easy!

    Quote Originally Posted by Ajeh View Post
    You do not have this Product marked as Virtual or Always Free Shipping and there isn't a Download on it ... correct?
    Well, it is set as Always Free Shipping because I want ground shipping to be free. I'm just trying to give customers the option of paying for 2day or 3day shipping.

    Quote Originally Posted by Ajeh View Post
    Do you have a link to this Products URL to see what it is doing?
    http://lasersandlights.com/blissligh....html?cPath=18
    I also turned on weights display from the shipping configuration and it does indeed show the quote as 7.6lbs and a line item weight of 14.6lbs.

    Quote Originally Posted by Ajeh View Post
    What charges are you expecting on UPS for this Product?
    The actual quote is correct from UPS. When you move to checkout, the actual charge for shipping shows different than the quote.

    Quote Originally Posted by Ajeh View Post
    What charges are you seeing?
    Sorry, I'm not sure what you are getting at with this question. I'm seeing two different charges. Quoted charge from UPS api (correct) and actual charge (just below subtotal in the checkout) as different (incorrect).

    Quote Originally Posted by Ajeh View Post
    What is your Ship From?
    areacode 95959. Our shop address

    Quote Originally Posted by Ajeh View Post
    What is the Ship To?
    areacode 01238. A customers address. Though the discreptancy shows up no matter where I ship to.

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

    Default Re: UPS shipping returns incorrect quotes

    For checkout_shipping I see:
    FREE SHIPPING!
    Free Shipping Only $0.00

    United Parcel Service (7.60lbs) United Parcel Service
    2nd Day Air $56.25
    3 Day Select $41.63
    Ground $18.26
    What do you want to see for shipping?

    NOTE: I think you need to add these to your stylesheet
    .hiddenField {
    display: none;
    }
    .visibleField {
    display: inline;
    }
    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!

  4. #14
    Join Date
    Apr 2010
    Posts
    22
    Plugin Contributions
    0

    Default Re: UPS shipping returns incorrect quotes

    Yes, that area of the screen is correct. The problem is up in the actual cart.

    Sub-Total: $198.99

    United Parcel Service (14.20lbs) (2nd Day Air): $88.39

    : $0.00

    Total : $287.38

    The problem is in the actual charges. due to this line of code:

    $total_weight += $_SESSION['cart']->free_shipping_weight;

    I changed it to this:

    Code:
    // bof: add back Always Free Shipping weight
    
    $free_ship_weight = $_SESSION['cart']->free_shipping_weight;
    
    if ($total_weight != $free_ship_weight){
    	$total_weight += $free_ship_weight;
    }
    // eof: add back Always Free Shipping weight
    That seems to fix the problem when the cart only has free shipping items, but adds the free shipping weight into mixed carts... think I am getting closer.

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

    Default Re: UPS shipping returns incorrect quotes

    Are you talking about the $0.00 in the:
    /index.php?main_page=checkout

    or the page:
    /index.php?main_page=shopping_cart

    and the:
    Total Items: 1 Weight: 0lbs Amount: $198.99


    On the checkout page, that looks like that is Tax ...

    On the shopping_cart page, you would need to do more customization to the code to try to match up the adjusted weight ...
    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!

  6. #16
    Join Date
    Apr 2010
    Posts
    22
    Plugin Contributions
    0

    Default Re: UPS shipping returns incorrect quotes

    the page I am worried about is /index.php?main_page=checkout

    I know the line " : $0.00" refers to the taxes so I am not too worried about displaying like that, just the weight discreptancies.

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

    Default Re: UPS shipping returns incorrect quotes

    If you mean because the shopping_cart shows:
    Weight: 0lbs

    and the checkout shows:
    7.60lbs

    the simplest solution is to go the Configuration ... Layout Setting ... and change the setting for:
    Shopping Cart - Show Totals
    Show Totals Above Shopping Cart?
    0= off
    1= on: Items Weight Amount
    2= on: Items Weight Amount, but no weight when 0
    3= on: Items Amount

    to 2 so that it does now show the weight on the shopping_cart page in the totals at the top ...
    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. #18
    Join Date
    Apr 2010
    Posts
    22
    Plugin Contributions
    0

    Default Re: UPS shipping returns incorrect quotes

    I only have the weight's displayed so I can quickly tell if something is amiss. Let me see if I can clarify my problem.... Your original solution to display shipping methods worked great. This code in the shipping/ups.php:

    Code:
    //    if (zen_get_shipping_enabled($this->code)) {
          $this->enabled = ((MODULE_SHIPPING_UPS_STATUS == 'True') ? true : false);
    //    }
    Except when ordering multiple items with free shipping (UPS was quoting for a 1 lb package). So you suggested this change to the classes/shipping.php:

    Code:
    $total_weight += $_SESSION['cart']->free_shipping_weight;
    Which fixes the quote shown on index.php?mainpage=shopping_cart
    But when you continue to 'index.php?mainpage=checkout' the shipping quote shows correctly (In the delivery information heading; bottom left) but the actual charges in the order total are doubled and this is what customers are actually charged.

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

    Default Re: UPS shipping returns incorrect quotes

    What is the products_id that you are testing?
    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!

  10. #20
    Join Date
    Apr 2010
    Posts
    22
    Plugin Contributions
    0

    Default Re: UPS shipping returns incorrect quotes

    Quote Originally Posted by Ajeh View Post
    What is the products_id that you are testing?
    That would be 121. Blisslight Spright - Green.

    From further testing, it looks as if $total_weight includes free shipping weight so this code:
    Code:
    $total_weight += $_SESSION['cart']->free_shipping_weight;
    Ends up including the free shipping weight twice. Do you know if there is somewhere i can get a full description of what data is included in the $_SESSION object?

    If there were, for example, a $_SESSION['cart']->shipping_weight so I could build the $total_weight correctly for shipping methods I want to estimate.

 

 
Page 2 of 3 FirstFirst 123 LastLast

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