Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2007
    Location
    Cannon Beach, OR
    Posts
    180
    Plugin Contributions
    0

    Default USPS Module - how to shorten the ship method string

    Hi,

    The string that gets stored in the database for a USPS shipping order looks like the following:

    United States Postal Service (0.54lbs) (First-Class Mail Parcel (2 - 5 days)):

    I need to shorten this string. Ideally it would just say "USPS (0.54)(First-Class Main..."

    The problem is that when I import this order to Shipworks for mail processing, the requested shipping string is truncated, and for Express Mail, it's truncated before the word "Express" shows up in the string. As in "United States Postal Service (0.54lbs)(Priority Mail Express International...". I can't see the "Express" part in my shipping software.

    Anyone know how I can shorten that string?

    It would be nice if there was an option in the settings for this. In case anyone wants to bloat the code a bit more. :)

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

    Default Re: USPS Module - how to shorten the ship method string

    You could change the language file define from:
    Code:
    define('MODULE_SHIPPING_USPS_TEXT_TITLE', 'United States Postal Service');
    to read:
    Code:
    define('MODULE_SHIPPING_USPS_TEXT_TITLE', 'USPS');
    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!

  3. #3
    Join Date
    Aug 2007
    Location
    Cannon Beach, OR
    Posts
    180
    Plugin Contributions
    0

    Default Re: USPS Module - how to shorten the ship method string

    Thanks. I thought I tried that, but I must have made a mistake. It works now. Thanks.

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

    Default Re: USPS Module - how to shorten the ship method string

    Glad that this is now working for you ... thanks for the update!
    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!

 

 

Similar Threads

  1. Replies: 11
    Last Post: 30 Jul 2013, 08:13 PM
  2. v139h Is the USPS shipping module required to ship with USPS?
    By yeahwhatever in forum Addon Shipping Modules
    Replies: 3
    Last Post: 14 Feb 2012, 12:58 AM
  3. How can I change the DELIVERY METHOD (ie: ship vs download)?
    By Visual Rabbi in forum Managing Customers and Orders
    Replies: 11
    Last Post: 8 Sep 2010, 03:59 PM
  4. Setting-up USPS - problems with Ship From is Guam and Ship To is US
    By pamcc in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 26 Mar 2010, 03:07 AM
  5. how do i add discount function for USPS ship method?
    By gueston in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 16 Oct 2009, 10:13 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