Results 1 to 10 of 16

Hybrid View

  1. #1
    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

  2. #2
    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!

  3. #3
    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

  4. #4
    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.

  5. #5
    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!

  6. #6
    Join Date
    Oct 2010
    Location
    Idaho
    Posts
    292
    Plugin Contributions
    0

    Default Re: Table Rate Best Way

    Linda,

    Do you know which file controls the parens that appear in the pop-up Shipping Estimator? I tried both of the files in the this thread for editing parens out, but neither file impacted the parens in the pop-up Shipping Estimator..

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

    Default Re: Table Rate Best Way

    You really need to give more details ...

    What shipping module(s) are you using?

    What are you trying to remove in the display?
    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
    Sep 2008
    Posts
    15
    Plugin Contributions
    0

    Default Re: Table Rate Best Way

    Quote Originally Posted by Ajeh View Post
    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'] . ')'), 
    The above worked for me -- Thanks Ajeh!

    However, now I have a problem with my language overrides.

    Instead of using the custom text I specified in:

    /languages/english/my_template/modules/shipping/table.php

    The text is coming from

    /languages/english/modules/shipping/table.php

    Why is my language override not working? What am I missing here?

    Thanks Zen Team!

    Doug
    Last edited by doug949; 13 Oct 2008 at 07:01 PM. Reason: want to be notified of replies

  9. #9
    Join Date
    Sep 2008
    Posts
    15
    Plugin Contributions
    0

    Default Re: Table Rate Best Way

    Quote Originally Posted by doug949 View Post
    The above worked for me -- Thanks Ajeh!

    However, now I have a problem with my language overrides.

    Instead of using the custom text I specified in:

    /languages/english/my_template/modules/shipping/table.php

    The text is coming from

    /languages/english/modules/shipping/table.php

    Why is my language override not working? What am I missing here?

    Thanks Zen Team!

    Doug
    Never mind, I reviewed the tutorial on overrides and finally figured out what I needed to do was put the override files here:

    /languages/english/modules/shipping/my_template/table.php

    Thanks again Zen Team!

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

    Default Re: Table Rate Best Way

    Thanks for the update and for posting the solution to the problem ...
    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!

 

 

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