Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Mar 2005
    Location
    North Texas
    Posts
    464
    Plugin Contributions
    0

    Default Table Rate Best Way

    I need to remove the text Table Rate (BestWay):

    I have gone to includes/languages/english/shipping/table_rate.php and removed the text between the quotes but it still appears on my checkout screens. Is there another place that I need to do this as well? I looked in Developers Toolkit and didn't find anything else.

    define('MODULE_SHIPPING_TABLE_TEXT_WAY', 'Best Way');
    Smurf
    Sterling Estate Sales
    Over 6,000 new and gently used items

  2. #2
    Join Date
    Mar 2005
    Location
    North Texas
    Posts
    464
    Plugin Contributions
    0

    Default Re: Table Rate Best Way

    I was finally able to remove the words but now I have ( ): that I cannot seem to find where to edit to remove it.
    Smurf
    Sterling Estate Sales
    Over 6,000 new and gently used items

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

    Default Re: Table Rate Best Way

    That is in the class shipping.php ... it was expecting "something" to be there ...

    You can edit the class but there are no overrides for classes ...
    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!

  4. #4
    Join Date
    Mar 2005
    Location
    North Texas
    Posts
    464
    Plugin Contributions
    0

    Default Re: Table Rate Best Way

    There is so much code there and I don't have a clue what to edit. Also on the checkout page right after the product title is the word array.

    Thanks
    Smurf
    Sterling Estate Sales
    Over 6,000 new and gently used items

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

    Default Re: Table Rate Best Way

    You have files that are not current if you see Array in the checkout ...

    You need to make sure that your templates and overrides are current ...

    As to the shipping class look in:
    /includes/classes/shipping.php

    You will see something around line 136:
    PHP Code:
                  'title' => $quotes['module'] . ' (' $quotes['methods'][$i]['title'] . ')'
    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
    Mar 2005
    Location
    North Texas
    Posts
    464
    Plugin Contributions
    0

    Default Re: Table Rate Best Way

    I have the most current version 1.3.7. I tried to edit the code but the ( ) are still there. What exactly am I supposed to remove or edit?
    Smurf
    Sterling Estate Sales
    Over 6,000 new and gently used items

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

    Default Re: Table Rate Best Way

    I goobered ...

    The parens are in the:
    /includes/modules/pages/checkout_shipping/header_php.php


    About line 152 you will see:
    PHP Code:
                                    'title' => (($free_shipping == true) ?  $quote[0]['methods'][0]['title'] : $quote[0]['module'] . ' (' $quote[0]['methods'][0]['title'] . ')'), 
    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!

  8. #8
    Join Date
    Mar 2005
    Location
    North Texas
    Posts
    464
    Plugin Contributions
    0

    Default Re: Table Rate Best Way

    I've tried to edit the code but no luck. Could you please tell me what to remove?

    Thank you.
    Smurf
    Sterling Estate Sales
    Over 6,000 new and gently used items

  9. #9
    Join Date
    Jul 2006
    Posts
    308
    Plugin Contributions
    0

    Default Re: Table Rate Best Way

    I tried editing that line too, changing it to:

    Code:
    'title' => (($free_shipping == true) ?  $quote[0]['methods'][0]['title'] : $quote[0]['module']),
    So it shouldn't say "Best Way" if that were the right place to edit it, but it still says Best Way, both on the shopping cart and shipping information pages.

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

    Default Re: Table Rate Best Way

    1 change the language file to not read: Best Way


    2 change the line in:
    /includes/modules/pages/checkout_shipping/header_php.php

    from:
    Code:
    'title' => (($free_shipping == true) ?  $quote[0]['methods'][0]['title'] : $quote[0]['module'] . ' (' . $quote[0]['methods'][0]['title'] . ')'),
    to read:
    Code:
    'title' => (($free_shipping == true) ?  $quote[0]['methods'][0]['title'] : $quote[0]['module'] . ' ' . $quote[0]['methods'][0]['title'] . ''),
    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!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. How do a change Table Rate (Best Way) to something else?
    By millersgrainhouse in forum Customization from the Admin
    Replies: 1
    Last Post: 18 Aug 2011, 10:40 PM
  2. How do I change "Table Rate (Best Way)" to "Ground Shipping"?
    By John Vieth in forum General Questions
    Replies: 4
    Last Post: 1 Jul 2010, 10:37 PM
  3. Table Rate Calculating Best Rate only
    By AffectionKnitter in forum Built-in Shipping and Payment Modules
    Replies: 12
    Last Post: 28 Dec 2009, 02:23 PM
  4. Change Table Rate (best way) on check out
    By chris32882 in forum General Questions
    Replies: 4
    Last Post: 9 Nov 2008, 07:42 PM
  5. Table Rate (Best Way) Text
    By TimonSK in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 25 Jan 2008, 08:04 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