Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2013
    Location
    Fort Myers. Florida
    Posts
    3
    Plugin Contributions
    0

    Default UPSXML - Must click update within shipping estamtor to see rates

    Hello,

    I recently installed the UPSXML shipping modiule and have been quite happy with the results so far. The only issue I have is that the customer must click the Update button in the shipping estimator pop up window before the rates will display. I understand when you first use the pop up estimator the country, state, and zip have not been selected so you must complete these fields then click update. But if you continue shopping and use the shipping estimator again the country, state, and zip code are retained but the rates do not show until you click Update.

    This was not the case with the older ups shipping module we used. And if USPS is enabled their rates show without having to click update. It is only the rates from UPSXML that require the page to be submitted.

    I have tried adding javascript to auto-submit the page. This works but causes the page to display twice and there is a 1 to 2 second delay between refresh.

    Does anyone know how to get the rates to display when the page is loaded?

    Zen-cart 1.3.7.
    UPS XML Rates v1.2.5d

    Thanks,
    Brian

  2. #2
    Join Date
    Jul 2013
    Location
    Fort Myers. Florida
    Posts
    3
    Plugin Contributions
    0

    Default Re: UPSXML - Must click update within shipping estamtor to see rates

    Update - Resolved

    I had to modify the file upsxml.php as follows:

    // begin modification - get state for estimator
    // $state = zen_get_zone_code($order->delivery['country']['id'], $order->delivery['zone_id'], '');
    global $state_zone_id;
    $state = zen_get_zone_code($order->delivery['country']['id'], $order->delivery['zone_id'], '');
    if ($state == "") { $state = $state = zen_get_zone_code($order->delivery['country']['id'], $state_zone_id, ''); }
    // end modification - get state for estimator

 

 

Similar Threads

  1. v151 Pre-defined shipping rates within one country - how?
    By Malek in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 8 May 2013, 02:35 AM
  2. User must be logged in to see large images
    By tawnos in forum General Questions
    Replies: 1
    Last Post: 8 Dec 2010, 03:51 AM
  3. Must See - This would be great!
    By andrew55 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 Jul 2009, 08:23 PM
  4. Different shipping rates within a country?
    By guscott in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 11 Apr 2007, 12:01 AM
  5. Replies: 1
    Last Post: 29 May 2006, 05:44 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