Results 1 to 10 of 26

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,489
    Plugin Contributions
    88

    Default ZC Overrides Cheatsheet

    This cheatsheet identifies the override possibilities for various directories in the Zen Cart structure. I thought I'd post it here before submitting it to the Free Software Add-Ons to see if there's any interest and/or suggestions for improvement.

    Just extract the files and then bring up the file zc_overrides_139.htm in your browser window.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Zen Cart Overrides Cheatsheet

    Would be interested in the differences between this and http://www.zen-cart.com/index.php?ma...roducts_id=298
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,489
    Plugin Contributions
    88

    Default Re: Zen Cart Overrides Cheatsheet

    DrByte, the add-on you referenced identifies the locations of the template-specific overrides only. My submission attempts to pull together all the override possibilities available in Zen Cart.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Zen Cart Overrides Cheatsheet

    Fair. Was just curious. Hadn't reviewed yours yet.

    NOTES:
    a) /index_filters/YOUR_TEMPLATE/ is also valid since 1.3.9

    b) I would probably add a little emphasis to your comments about copying from template_default that it's *not* necessary to copy the *entire* template_default folder: just the files you want to change.

    c) I would also suggest adding to your comments about header_php.php files that a good reminder would be to NEVER rename any existing header_php.php files for backup purposes. ie: header_php-old.php would STILL get loaded, and could cause all manner of confusion and complicated debugging steps. (Same point is valid for all other auto-inclusion folders, but this one is particularly volatile because of the existing files vs the other folders where usually one is only adding new files.)
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,489
    Plugin Contributions
    88

    Default Re: Zen Cart Overrides Cheatsheet

    DrByte, thanks for the comments; I'll incorporate them in my next iteration.

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,489
    Plugin Contributions
    88

    Default Re: Zen Cart Overrides Cheatsheet

    Here's v1.0.1 of the cheatsheet. I've incorporated DrByte's comments and found another override location.

 

 

Similar Threads

  1. Overrides
    By logicalstep in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 9 Feb 2011, 02:18 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR