Writing contributions -- often-overlooked override capabilities

There are built-in override capabilities in Zen Cart to prevent needing to edit some core files which would otherwise need updating.

Some of the commonly-overlooked override capabilities are listed here:

database_tables.php & filenames.php

Combine your extra details for these two files into one file, and then add it to both the storefront and the admin:
- /includes/extra_datafiles/my_contribution_name_datafiles.php
- /admin/includes/extra_datafiles/my_contribution_name_datafiles.php
(these will auto-load)

stylesheet.css

- includes/templates/YOUR_TEMPLATE/css/styles_my_contribution_name.css
(This will auto-load)
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How can I find out what version of Zen Cart or PHP or MySQL I'm using?

To find out what version of Zen Cart or PHP or MySQL you are currently using, you can simply go...

Getting a BLANK PAGE? Here's the answer ...

If you're getting a blank page when trying to browse to a certain page on your store, or after...

What's New in the Upcoming v2.0 release?

Database Abstraction Layer and Sql CacheThe abstraction layer has been re-factored to include a...

Image Preparation - How-to

I've seen several posts where people obviously aren't quite sure about the best way to set up...

Some tips to modify stylesheet

1. Download Web Developer extension for FireFox here2. Install & restart FireFox. You should...