Page 1 of 2 12 LastLast
Results 1 to 10 of 246

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: UPS XML: Support Thread

    @mrsawyer, UPS returns time-sensitive quotes. You might get a Next Day Air quote in the morning that you won't get for the same address later in the day.

    To get those various shipping-methods to display in Spanish, you're heading down the correct path (/includes/languages/spanish/modules/shipping/upsxml.php) by editing that copied language file.

  2. #2
    Join Date
    Oct 2019
    Location
    Georgia, USA
    Posts
    54
    Plugin Contributions
    0

    Default Re: UPS XML: Support Thread

    Quote Originally Posted by lat9 View Post
    @mrsawyer, UPS returns time-sensitive quotes. You might get a Next Day Air quote in the morning that you won't get for the same address later in the day.

    To get those various shipping-methods to display in Spanish, you're heading down the correct path (/includes/languages/spanish/modules/shipping/upsxml.php) by editing that copied language file.
    The disappearance of every shipping option that I edited in upsxml.php could not have been due to information being time-sensitive. It was only a matter of seconds from the edit to Spanish (where the option disappeared) and changing back to English where the options reappeared. It seems more likely to be what I stated in the original post, that since the Spanish option is not an option to display in the cart, the system eliminates it. Of course it is only a theory, but please offer some reply as to whether it is even feasible or not.

    Also please try changing the "Next Day Air" on the English folder side of upsxml.php to "Next Day Truck" and see what happens. I'm sure the option will disappear on your test system.

    Thanks for the fast reply!
    mrsawyer

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: UPS XML: Support Thread

    Quote Originally Posted by mrsawyer View Post
    The disappearance of every shipping option that I edited in upsxml.php could not have been due to information being time-sensitive. It was only a matter of seconds from the edit to Spanish (where the option disappeared) and changing back to English where the options reappeared. It seems more likely to be what I stated in the original post, that since the Spanish option is not an option to display in the cart, the system eliminates it. Of course it is only a theory, but please offer some reply as to whether it is even feasible or not.

    Also please try changing the "Next Day Air" on the English folder side of upsxml.php to "Next Day Truck" and see what happens. I'm sure the option will disappear on your test system.

    Thanks for the fast reply!
    mrsawyer
    Well, duh. Unfortunately, due to the way that the UPS-XML shipping method's currently (as you noted) processing, changing those [what should be] language-specific names from their configured values causes the various shipping methods to be removed due to a 'no match' condition when compared against those database-settings.

    I've created a GitHub issue (https://github.com/lat9/upsxml/issues/24) to track changes needed to correct this behavior.

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: UPS XML: Support Thread

    Quote Originally Posted by lat9 View Post
    Well, duh. Unfortunately, due to the way that the UPS-XML shipping method's currently (as you noted) processing, changing those [what should be] language-specific names from their configured values causes the various shipping methods to be removed due to a 'no match' condition when compared against those database-settings.

    I've created a GitHub issue (https://github.com/lat9/upsxml/issues/24) to track changes needed to correct this behavior.
    I've just submitted UPS-XML v1.7.8 to the Zen Cart moderators for review and will post back here when it's available for download.

    This release contains changes enabling the various UPS shipping methods to be translated into different languages. See that GitHub issue-link above for additional information.

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: UPS XML: Support Thread

    Quote Originally Posted by lat9 View Post
    I've just submitted UPS-XML v1.7.8 to the Zen Cart moderators for review and will post back here when it's available for download.

    This release contains changes enabling the various UPS shipping methods to be translated into different languages. See that GitHub issue-link above for additional information.
    Please note: This update appends the UPS Service Code to the names of the individually-selectable shipping methods to enable that language-translation. If you are upgrading, it's very, very important to go to your admin's Modules::Shipping for your existing configuration to be updated once the updated files are placed on your site. Otherwise, your customers won't receive UPS-XML quotes.

  6. #6
    Join Date
    Oct 2019
    Location
    Georgia, USA
    Posts
    54
    Plugin Contributions
    0

    Default Re: UPS XML: Support Thread

    Quote Originally Posted by lat9 View Post
    Please note: This update appends the UPS Service Code to the names of the individually-selectable shipping methods to enable that language-translation. If you are upgrading, it's very, very important to go to your admin's Modules::Shipping for your existing configuration to be updated once the updated files are placed on your site. Otherwise, your customers won't receive UPS-XML quotes.
    Hey lat9,

    Wow! I am happy that you have handled this so quickly. I am anxiously awaiting the new download. As you suggested, I'll be sure to go to the admin, Modules. Shipping function to play with the new options.

    Thanks So Much!
    mrsawyer

  7. #7
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: UPS XML: Support Thread

    Quote Originally Posted by mrsawyer View Post
    Hey lat9,

    Wow! I am happy that you have handled this so quickly. I am anxiously awaiting the new download. As you suggested, I'll be sure to go to the admin, Modules. Shipping function to play with the new options.

    Thanks So Much!
    mrsawyer
    You're very welcome. If you want a heads-up while the moderators do their review, you can always download from the plugin's GitHub repository: https://github.com/lat9/upsxml/releases/tag/v1.7.8

  8. #8
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: UPS XML: Support Thread

    Quote Originally Posted by lat9 View Post
    I've just submitted UPS-XML v1.7.8 to the Zen Cart moderators for review and will post back here when it's available for download.

    This release contains changes enabling the various UPS shipping methods to be translated into different languages. See that GitHub issue-link above for additional information.
    Quote Originally Posted by lat9 View Post
    Please note: This update appends the UPS Service Code to the names of the individually-selectable shipping methods to enable that language-translation. If you are upgrading, it's very, very important to go to your admin's Modules::Shipping for your existing configuration to be updated once the updated files are placed on your site. Otherwise, your customers won't receive UPS-XML quotes.
    UPS-XML v1.7.8 is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=126

  9. #9
    Join Date
    Oct 2019
    Location
    Georgia, USA
    Posts
    54
    Plugin Contributions
    0

    Default Re: UPS XML: Support Thread

    Greetings,

    Thanks for the latest update to UPS-XML. Making it multilingual is great. As I was using the module on our Spanish site, I noticed the heading just before the rates says: UNITED PARCEL SERVICE (1 PKG X 7.18 LBS TOTAL) . I looked in the file upsxml.php, but found that the heading is coming from some other place. We don't plan to display the number of packages and the weight, so they are not an issue. My question: is "UNITED PARCEL SERVICE" translatable, and if so, what file would I edit?

    And another question is what file do we edit to put more spaces between the shipping choices? I noticed that the prices for the shipping choices need more space after them. See...Click image for larger version. 

Name:	UPSprices.png 
Views:	611 
Size:	52.5 KB 
ID:	19079

  10. #10
    Join Date
    Dec 2006
    Location
    near Atlanta Georgia
    Posts
    216
    Plugin Contributions
    0

    Default Re: UPS XML: Support Thread

    @Lat9,
    I am having an issue with UPSXML 1.8.1. Have a clean v158 installed. Being as I backed up the live db and imported that data into the new db I belive it has UPSXML 1.7.9 info in it from 157. Not sure if that is creating a problem or not but when I log in to the admin after uploading the 1.8.1 files to the includes directory there is no UPSXML under Modules > Shipping. To be clear the 1.7.9 is not installed in 158. Have multiple instances of this same log file (redacted for security)

    PHP Fatal error: Uncaught Error: Undefined constant "MODULE_SHIPPING_UPSXML_SHIPPER_NUMBER" in /includes/modules/shipping/upsxml.php:143
    Stack trace:
    #0 /*******/modules.php(187): upsxml->__construct()
    #1 /*******/index.php(11): require('/home/*mysite*/...')
    #2 {main}
    thrown in /includes/modules/shipping/upsxml.php on line 143

    Request URI: /****/*******/index.php?cmd=modules&set=shipping, IP address: 68.222.21.190
    --> PHP Fatal error: Uncaught Error: Undefined constant "MODULE_SHIPPING_UPSXML_SHIPPER_NUMBER" in /includes/modules/shipping/upsxml.php:143
    Stack trace:
    #0 /*******/modules.php(187): upsxml->__construct()
    #1 /*******/index.php(11): require('/home/*mysite*/...')
    #2 {main}
    thrown in /includes/modules/shipping/upsxml.php on line 143.

    Thanks,
    John
    Best,
    Goldbuckle

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. UPS discounted rates not showing in UPS XML
    By cspan27 in forum Addon Shipping Modules
    Replies: 51
    Last Post: 27 Jun 2016, 03:52 PM
  2. v151 Ty UPS WorldShip Support Thread
    By colosports in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 1 Jun 2014, 12:05 AM
  3. UPS XML Stopped Communicating with UPS... HELP!
    By rconway28 in forum Addon Shipping Modules
    Replies: 28
    Last Post: 23 Nov 2011, 03:31 PM
  4. UPS Shipping - not working (UPS-XML addon)
    By breck in forum Addon Shipping Modules
    Replies: 30
    Last Post: 20 Aug 2010, 03:24 AM
  5. UPS/UPS XML Future Day Pick-up
    By fred_hf in forum Addon Shipping Modules
    Replies: 0
    Last Post: 21 Dec 2009, 07:59 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
  •  
disjunctive-egg