Forums / Templates, Stylesheets, Page Layout / Sales Message Goes Here

Sales Message Goes Here

Started by northstar on 24 Feb 2012, 5:53 AM · Views: 828

Results 1 to 2 of 2
24 Feb 2012, 5:53 AM
#1
northstar avatar

northstar

New Zenner

Join Date:
Feb 2012
Posts:
13
Plugin Contributions:
0

Sales Message Goes Here

I have already gone through 4 tutorials here and the internet and I am obviously not getting it as all say the same thing. Just talked to 4 other new zen cart people and they aren't either.
I had no includes/languages/ENGLISH/CUSTOM directory I take it I create one?
I take it we can't just replace the header.php as we would if were changing an html file.
I have replaced the script, ensuring the quotes were in tact. Nothing changed at all. I edited in notepad+++, saved, then uploaded it to the custom folder I created.

24 Feb 2012, 6:48 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Sales Message Goes Here

The "CUSTOM" directory mentioned in the various tutorials is the name you select when you create your own custom template. It's the foldername into which you create your own custom template. Then you use that same foldername in the appropriate override locations (such as the one you quoted) to save your edits to the files you customize. This makes your future upgrades much easier than if you were to directly edit core files, since all your custom changes are easily identified.

To create your own template, you need to create the folder, and then create a template_info.php file which contains some primary information about the template. Then you log into your Admin area and select that template from the Tools->Template Select menu. At that point all your "CUSTOM" folders (again, that's the folders matching the name of your template's folder) will be able to take over as overrides to take precedence ahead of the normal system defaults contained in the original code.

The concepts of creating your own custom template and of using overrides are all discussed at length in several Tutorial/FAQ articles.

.
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.