Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2005
    Posts
    89
    Plugin Contributions
    0

    Default why is this not overriding?

    I am under the understanding that I am supposed to make a custom_template folder wherever I see a "classic" folder correct? Then if I make changes to .php files I am supposed to copy them into the custom_template folder right?

    I'm asking because making changes to:
    store/includes/custom_template/shipping/zones.php does nothing but making changes to: store/includes/modules/shipping/zones.php does something.

    So why is it still reading the core file when I made the override and set it in the admin etc.. Is my path wrong?

    Please help.

  2. #2
    Join Date
    Jan 2004
    Location
    UK
    Posts
    1,230
    Plugin Contributions
    0

    Default Re: why is this not overriding?

    store/includes/modules/shipping/ doesn't have a 'classic' folder in it - and so it isn't an override-able folder.

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: why is this not overriding?

    custom_template folders are created at the locations where the classic folder is.

    What you attempted to do is create a shipping folder fully outside of whare it exists. If there was a a classic folder under shipping...this is where the override folder would be created.
    Zen-Venom Get Bitten

  4. #4
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: why is this not overriding?

    This might work:
    /includes/modules/custom/shipping/zones.php

    Have similar settings for other functions.

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: why is this not overriding?

    Just a Post Script to what website Rob suggested:

    As there is not a "classic" folder inside of "shipping" these are not available to override...

    I suggest that you make a copy, rename the orig with the extention .orig; make your edits to the copy and load to the original location...

    Keep a log of these core edits so that prior to an upgrade you can preserve any file that also has a .orig copy there.
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. v150 why does this code not work?
    By nazca in forum General Questions
    Replies: 6
    Last Post: 9 Oct 2013, 02:19 PM
  2. Why Does this SQL not work?
    By plymgary1 in forum General Questions
    Replies: 5
    Last Post: 7 Jun 2011, 11:24 AM
  3. Why does this show in Firefox but not IE?
    By plymgary1 in forum General Questions
    Replies: 3
    Last Post: 30 Jun 2009, 11:10 PM
  4. Header wrapper problem, Not sure Why this happened
    By heavenlynights in forum General Questions
    Replies: 0
    Last Post: 19 Feb 2008, 02:18 PM
  5. WHY is this not alphabetizing correctly?
    By toddie in forum General Questions
    Replies: 3
    Last Post: 11 Sep 2006, 10:53 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