Results 1 to 10 of 15

Hybrid View

  1. #1
    Join Date
    Mar 2011
    Posts
    19
    Plugin Contributions
    0

    Default Re: Overrides directory question about free shipping text.

    I have been trying to do the same as CybaGirl and I am getting the same results.

    Editing the core file changes the text.

    Creating an override folder with the file in it does not change the text.

    Strangely it seems to be limited to overrides for the order_total files. Creating overrides for the other modules folders works out fine. Possibly a bug perhaps?

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

    Default Re: Overrides directory question about free shipping text.

    Which file are you trying to override?
    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
    Jul 2009
    Posts
    122
    Plugin Contributions
    0

    Default Re: Overrides directory question about free shipping text.

    Quote Originally Posted by soyofthenorth View Post
    I have been trying to do the same as CybaGirl and I am getting the same results.

    Editing the core file changes the text.

    Creating an override folder with the file in it does not change the text.

    Strangely it seems to be limited to overrides for the order_total files. Creating overrides for the other modules folders works out fine. Possibly a bug perhaps?
    Glad to see I am not the only one who had this issue! There is a definite problem here and I think there is a limitation on the directory depth and this is why it's not working. Because either the OS or ZenCart isn't capable of reading past a certain amount of characters more or less like Windows does.

    Quote Originally Posted by Ajeh View Post
    Which file are you trying to override?
    The file is called ot_shipping.php if you modify this core file and put it inside an over rides directory ZenCart still reads the original core file and not the one located in the over rides directory.

    I ended up just modifying the core file as the over ride folder in this instance does not work for some reason.

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

    Default Re: Overrides directory question about free shipping text.

    NOTE: On the Payment, Shipping and Order Total Modules, only the language files have overrides ...

    The code files do NOT have overrides ...

    On the file:
    /includes/languages/modules/order_total/ot_shipping.php

    what are you trying to overrides that is not working ... what is the condition that makes the shipping Free?
    Last edited by Ajeh; 8 Jun 2012 at 02:07 PM.
    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!

  5. #5
    Join Date
    Jul 2009
    Posts
    122
    Plugin Contributions
    0

    Default Re: Overrides directory question about free shipping text.

    Hello Linda and thank you for taking the time to reply again.

    As I mentioned in my first post in this thread I wanted to change the text from the default wording which says:

    Free shipping for orders over %s

    which is located in this file:

    /includes/languages/modules/order_total/ot_shipping.php

    to

    Your order qualifies for free shipping as the total is over %s

    by placing the ot_shipping.php file inside an over rides directory like so:

    /includes/languages/modules/order_total/MYTEMPLATE/ot_shipping.php

    The condition that makes it free shipping is when the order totals over $200.00.

    I don't know what else to say as I have tried this numerous times to get this to work in an over rides directory but it doesn't. It only works if I change the text in the main file located here.

    /includes/languages/modules/order_total/ot_shipping.php

    Hope this makes sense.

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

    Default Re: Overrides directory question about free shipping text.

    /includes/languages/modules/order_total/

    Where is the LANGUAGE?

    /includes/languages/english/modules/order_total/
    20 years a Zencart User

 

 

Similar Threads

  1. Shipping Module Programming Question about weight and free shipping
    By voltar in forum Built-in Shipping and Payment Modules
    Replies: 59
    Last Post: 18 Nov 2011, 10:29 PM
  2. General question about overrides
    By jeffmic in forum General Questions
    Replies: 2
    Last Post: 23 Sep 2010, 05:08 AM
  3. quick question about overrides vs Image Handler2 addon
    By buckit in forum Basic Configuration
    Replies: 2
    Last Post: 25 Aug 2010, 09:11 PM
  4. Free shipping item overrides other fees.
    By GonzoInRoch in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 31 Mar 2008, 07:39 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