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

Hybrid View

  1. #1
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Change Shipping Method TEXT Wording

    Quote Originally Posted by lidlchris View Post
    i have researched this for hours and can't find an answer..
    This can be reduced to minutes if you use the DEVELOPER TOOL KIT file finder...

    ADMIN CONSOLE>>> TOOLS >>> DEVELOPER TOOL KIT.

    Here you have several options to search for strings of "text" in php files. Where the search string is found, the results will show the file name and location (path) and the lines involved.

    Be careful when editing... as you know, php is very unforgiving...
    Last edited by schoolboy; 7 Mar 2013 at 11:20 PM.
    20 years a Zencart User

  2. #2
    Join Date
    Feb 2013
    Posts
    345
    Plugin Contributions
    0

    Default Re: Change Shipping Method TEXT Wording

    Quote Originally Posted by schoolboy View Post
    This can be reduced to minutes if you use the DEVELOPER TOOL KIT file finder...

    ADMIN >>> TOOLS >>> DEVELOPER TOOL KIT.

    Here you have several options to search for strings of "text" in php files. Where the search string is found, the results will show the file name and location (path) and the lines involved.

    Be careful when editing... as you know, php is very unforgiving...

    hmmmmm.. of course i tried this first but nothing comes up.. maybe you're not understanding me?? try it yourself for any USPS shipping method - e.g. Global Express Non-Doc Rect - it is NOT defined in any file except includes/modules/shipping/usps.php (i posted some of the code above) - and i don't think you change the text there as i've already tried it and the shipping method stops working.. and YES i know about how to over-ride but the text just doesn't exist..

  3. #3
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Change Shipping Method TEXT Wording

    20 years a Zencart User

  4. #4
    Join Date
    Feb 2013
    Posts
    345
    Plugin Contributions
    0

    Default Re: Change Shipping Method TEXT Wording

    Quote Originally Posted by schoolboy View Post
    guess i'll just have to assume you aren't understanding me.. you sent me links to install the USPS module and how to set it up.. since i have had it set up for a long time and it's working correctly, not sure why you sent me those links.. and no, there is NO language file except for includes/languages/english/modules/shipping/usps.php - and there is no where in that file so change text for the USPS international shipping options.

  5. #5
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Change Shipping Method TEXT Wording

    Here's an idea...

    Download that module and unzip it.

    Send only the LANGUAGE file to the LANGUAGE ROOT location, and a copy to your LANGUAGE OVERRIDE location (I described these paths above).

    See if that makes a difference...
    20 years a Zencart User

  6. #6
    Join Date
    Feb 2013
    Posts
    345
    Plugin Contributions
    0

    Default Re: Change Shipping Method TEXT Wording

    Quote Originally Posted by schoolboy View Post
    Here's an idea...

    Download that module and unzip it.

    Send only the LANGUAGE file to the LANGUAGE ROOT location, and a copy to your LANGUAGE OVERRIDE location (I described these paths above).

    See if that makes a difference...
    nope, it's the exact same file i have installed.. and there is nothing in this 'language' file for USPS international shipping methods.. i'll attach all of the code below - tell me if you see any International Shipping Methods that i could change the text for.

    <?php
    /**
    * @package languageDefines
    * @copyright Copyright 2003-2013 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: usps.php 18348G 2013-01-27 01:27:00Z ajeh $
    */

    define('MODULE_SHIPPING_USPS_TEXT_TITLE', 'United States Postal Service');
    define('MODULE_SHIPPING_USPS_TEXT_DESCRIPTION', 'United States Postal Service<br /><br />You will need to have registered a Web Tools account with USPS at <a href="http://www.usps.com/webtools/" target="_blank">their website</a> to use this module.<br /><br />USPS expects you to <strong>use pounds as weight measure</strong> for your products.' . ((MODULE_SHIPPING_USPS_USERID == 'NONE' || MODULE_SHIPPING_USPS_USERID == '' || MODULE_SHIPPING_USPS_SERVER == 'test') ? '<br /><br /><strong>Creating a customer account for USPS realtime shipping quotes</strong><br />
    1. <a href="https://secure.shippingapis.com/registration/" target="_blank">Create a USPS Web Tools account</a><br />
    2. Fill in your customer information details and click Submit<br />
    3. You will receive an email containing your USPS rate-quote Web Tools User ID<br />
    4. Insert the Web Tools User ID in the Zen Cart USPS shipping module.<br />
    5. Telephone USPS 1-800-344-7779 and ask them to move your account to the Production Server or email them at [email protected], quoting your Web Tools User ID.<br />
    6. They will send another confirmation email. Set the Zen Cart module into Production mode (instead of Test mode) to finish activation.': ''));
    define('MODULE_SHIPPING_USPS_TEXT_OPT_PP', 'Parcel Post');
    define('MODULE_SHIPPING_USPS_TEXT_OPT_PM', 'Priority Mail');
    define('MODULE_SHIPPING_USPS_TEXT_OPT_EX', 'Express Mail');
    define('MODULE_SHIPPING_USPS_TEXT_ERROR', 'We are unable to find a USPS shipping quote suitable for your mailing address and the shipping methods we typically use.<br />If you prefer to use USPS as your shipping method, please contact us for assistance.<br />(Please check that your Zip Code is entered correctly.)');
    define('MODULE_SHIPPING_USPS_TEXT_SERVER_ERROR', 'An error occurred in obtaining USPS shipping quotes.<br />If you prefer to use USPS as your shipping method, please contact the store owner.');
    define('MODULE_SHIPPING_USPS_TEXT_DAY', 'day');
    define('MODULE_SHIPPING_USPS_TEXT_DAYS', 'days');
    define('MODULE_SHIPPING_USPS_TEXT_WEEKS', 'weeks');
    define('MODULE_SHIPPING_USPS_TEXT_TEST_MODE_NOTICE', '<br /><span class="alert">Your account is in TEST MODE. Do not expect to see usable rate quotes until your USPS account is moved to the production server (1-800-344-7779) and you have set the module to production mode in Zen Cart admin.</span>');

  7. #7
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Change Shipping Method TEXT Wording

    Quote Originally Posted by lidlchris View Post
    guess i'll just have to assume you aren't understanding me.. you sent me links to install the USPS module and how to set it up.. since i have had it set up for a long time and it's working correctly, not sure why you sent me those links.. and no, there is NO language file except for includes/languages/english/modules/shipping/usps.php - and there is no where in that file so change text for the USPS international shipping options.
    AH.. SO you DO have a language file...

    DONT do what I said above...
    20 years a Zencart User

  8. #8
    Join Date
    Feb 2013
    Posts
    345
    Plugin Contributions
    0

    Default Re: Change Shipping Method TEXT Wording

    Quote Originally Posted by schoolboy View Post
    AH.. SO you DO have a language file...

    DONT do what I said above...

    yes but the language file has nothing it related to international shipping methods..

  9. #9
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Change Shipping Method TEXT Wording

    Maybe AJEH can assist? She is the module's author...
    20 years a Zencart User

  10. #10
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Change Shipping Method TEXT Wording

    Possible that these parameters are called in from USPS server ??
    20 years a Zencart User

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Changing shipping method wording in checkout
    By jolewin in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Jan 2011, 10:12 AM
  2. Change shipping method text
    By maxy007 in forum General Questions
    Replies: 2
    Last Post: 5 Jan 2011, 01:31 PM
  3. How do I change sidebox text / wording
    By LadyMorgana in forum General Questions
    Replies: 7
    Last Post: 3 Nov 2008, 01:19 PM
  4. Change wording of Shipping Weight
    By ajhb in forum Basic Configuration
    Replies: 1
    Last Post: 28 Oct 2008, 08:58 AM
  5. Change shipping method text
    By Jon Penny in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 21 Mar 2008, 01:35 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