Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,536
    Plugin Contributions
    127

    Default Re: Use Of Override System

    Let's say you edited

    includes/languages/english/shopping.cart.php

    without using the overrides system. Then in the next version, this file gets upgraded. If you just upload all the files which were changed in the new version, you will overwrite your changes and lose them.

    To prevent this, create a directory using the name of your template (let's say it's YOUR_TEMPLATE):

    includes/languages/english/YOUR_TEMPLATE

    then copy

    includes/languages/english/shopping.cart.php
    to
    includes/languages/english/YOUR_TEMPLATE/shopping.cart.php

    For completeness, yes, restore the original
    includes/languages/english/shopping.cart.php

    from a fresh download. That way, if this file changes in a future release, you can just compare the copy you have with the new copy and apply these changes to

    includes/languages/english/YOUR_TEMPLATE/shopping.cart.php
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  2. #2
    Join Date
    Jul 2010
    Posts
    106
    Plugin Contributions
    0

    Default Re: Use Of Override System

    Ok,makes sense to do it,I see now that this system allows for customization,without coding yourself out of future upgrades

    thanks for your help swguy

 

 

Similar Threads

  1. Didn't use the override system and want to upgrade
    By Hyena in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 5 Aug 2011, 01:11 PM
  2. Clarification needed - use admin panel or use an override file???
    By mokijo in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 8 Jan 2010, 12:45 AM
  3. Did not use the Override System
    By res in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Aug 2008, 05:23 AM
  4. Override system
    By ctpro in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 5 Jun 2007, 04:41 AM
  5. Override System
    By DRenaud in forum Basic Configuration
    Replies: 5
    Last Post: 11 May 2007, 12:14 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