Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Aug 2009
    Location
    Carmi, IL
    Posts
    354
    Plugin Contributions
    0

    Default Change Shipping Estimator output text

    Hello all,

    Would anyone know where I can alter the language in the Shipping Estimator? Currently it says:

    United States Postal Service (1 x 0.80lbs) (Priority Mail ( days))

    I would like it to say:

    USPS (insert weight here) PRIORITY MAIL

    Remove the brackets entirely. I did remove the number of days, but do not know where to edit the rest.

    Thanks

    Pkat

  2. #2
    Join Date
    Aug 2009
    Location
    Carmi, IL
    Posts
    354
    Plugin Contributions
    0

    Default Re: Change Shipping Estimator Language

    Would anyone have a suggestion how I can do this?

  3. #3
    Join Date
    Aug 2009
    Location
    Carmi, IL
    Posts
    354
    Plugin Contributions
    0

    Default Re: Change Shipping Estimator output text

    Ok. I searched in the Developers Tool Kit and found the file to remove days...now I need to know where to remove the brackets...

    Can anyone please help?? This is what I have now:

    United States Postal Service (1 x 0.10lbs) (Priority Mail ( ))

  4. #4
    Join Date
    Aug 2009
    Location
    Carmi, IL
    Posts
    354
    Plugin Contributions
    0

    Default Issue solved

    Ok. After I turned the time off in the usps module in admin, I still had the parentheses, therefore, I edited the usps.php (saved a copy to my custom folder):

    lines 511 & 566

    if ($time != '') $transittime[$service] = '(' . $time . ')';

    I changed the lines to this:

    /* if ($time != '') $transittime[$service] = '(' . $time . ')';*/

    This took out the time & brackets/parentheses. Works like a charm now.


    Thanks

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

    Default Re: Change Shipping Estimator output text

    On USPS you could instead of touching the code to turn off the days, simply edit the USPS module in the Zen Cart Admin under the Modules ... Shipping ... and turn the switch off:
    USPS Options
    Select from the following the USPS options.

    Display weight
    Display transit time
    it would be a b it easier there ...
    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!]
    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. #6
    Join Date
    Aug 2009
    Location
    Carmi, IL
    Posts
    354
    Plugin Contributions
    0

    Default Re: Change Shipping Estimator output text

    Thanks for replying. I appreciate your response. For some reason or another, when I turned it off in admin the parentheses remained. When I changed the code, they went away. Looks lot's better without the pesky little curves!

    All is good..for now...on to the next little mountain...

 

 

Similar Threads

  1. v154 How can I change the text in shipping estimator from "Best Way" to something else?
    By Zappa Aviaries in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 11 Feb 2015, 05:10 AM
  2. Change shipping estimator window text
    By betheone in forum General Questions
    Replies: 3
    Last Post: 21 Apr 2010, 07:24 PM
  3. Text in the Shipping estimator
    By marcap in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 13 Jun 2008, 03:33 PM
  4. Shipping Estimator text change
    By raunharman in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 29 Aug 2007, 03:40 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