Template Customization/ Building Overrides

Articles
"There was a security error when trying to login"
Situation: I have just upgraded and now getting this error when trying to login from the customer screen "There was a security error when trying to login" Cause:
- 2008-12-04 - Similar Articles

Are there any template overrides in the Admin area?
At the present time, there are no overrides for core files in the Admin area. If you wish to change admin functionality, you will have to edit the core files directly. &n
- 2006-10-08 - Similar Articles

Can I change the width of the side boxes?
To change the width of the sidebox columns, open your Admin and point your cursor at Configuration on the menu bar. Choose Layout Settings from the dropdown menu. Click the
- 2006-08-06 - Similar Articles

Can I remove the Copyright © 200X Zen Cart. Powered by Zen Cart from the footer of my cart?
Copyright © 200X Zen Cart covers the design and graphics in the templates. If you are using a stock template with the included graphics you must leave the copyright. If y
- 2006-08-06 - Similar Articles

Can I turn off the left or right hand columns for some pages only?
Yes, you can. Firstly, if you don't already have one, create an over-ride file for tpl_main_page.php in your includes/templates/YOUR_TEMPLATE/common directory.There is enormou
- 2007-12-27 - Similar Articles

Can I turn off the weight, inventory count, manufacturer, etc. on my product detail page?
Yes, you can. Open your Admin. Put the cursor over Catalog on the top menu. Choose Product Types from the dropdown. Choose Products General (or the product type you are cu
- 2006-10-12 - Similar Articles

Can I use Flash in Zen Cart?
See this reference to help you with using Flash in your Zen Cart site
- 2006-10-08 - Similar Articles

How can I remove the search box in the header navigation bar?
Open your Admin. Point your cursor at the Tools menu. Choose the Layout Boxes Controller. Find the search_header.php, turn both switches to off.
- 2006-08-06 - Similar Articles

How do I add additional links to the Header and Footer?
CAPITALIZED words refer to a folder or language that you choose. We use CUSTOM for your template and ENGLISH for your language by default. These generic terms should be change
- 2007-01-24 - Similar Articles

How do I add an image to the bottom of my sideboxes or center boxes?
From Zen Cart 1.3.0 this became very easy to do with CSS. The exact method will depend upon whether you are creating a small image to be repeated, or a image that will either
- 2007-03-16 - Similar Articles

How do I change "Powered by Zen Cart" and add/position a new logo?
CAPITALIZED words refer to a folder or language that you choose. We use CUSTOM for your template and ENGLISH for your language by default. These generic terms should be change
- 2006-12-04 - Similar Articles

How do I change Page_? (name)
CAPITALIZED words refer to a folder or language that you choose. We use CUSTOM for your template and ENGLISH for your language by default. These generic terms should be change
- 2006-12-22 - Similar Articles

How do I change the "Congratulations! you have successfully installed..." Message?
CAPITALIZED words refer to a folder or language that you choose. We use CUSTOM for your template and ENGLISH for your language by default. These generic terms should be change
- 2006-12-04 - Similar Articles

How do I change the "MyCard" images for Credit Cards?
Zen Cart does not provide credit card images. You may wish to contact your Merchant services for official images that you are permitted to use. Once you have obtained the allo
- 2006-08-26 - Similar Articles

How do I change the "Sales Message Goes Here" or "Tagline Here" text?
CAPITALIZED words refer to a folder or language that you choose. We use CUSTOM for your template and ENGLISH for your language by default. These generic terms should be change
- 2006-12-06 - Similar Articles

How do I change the background colour, on each side of my page - from a standard light blue(cyan) to white or grey?
In your stylesheet.css you can adjust the overall background color by setting the body tag:body {    margin: 0;    font-family: verdana, arial, h
- 2006-10-13 - Similar Articles

How do I change the colors and fonts?
Find: /includes/templates/YOUR_TEMPLATE/css/stylesheet.css Start by opening the style sheet in your favorite text editor: All of the pages are broken into smaller pieces call
- 2006-08-06 - Similar Articles

How do I change the Copyright message in the footer?
CAPITALIZED words refer to a folder or language that you choose. We use CUSTOM for your template and ENGLISH for your language by default. These generic terms should be change
- 2006-12-04 - Similar Articles

How do I change the login link at the top of my site to read "login/register"?
If you haven't already done so, create an includes/languages/YOUR_LANGUAGE/YOUR_TEMPLATE_NAME folder and copy your includes/languages/YOUR_LANGUAGE/header.php file to it.Open
- 2007-02-25 - Similar Articles

How do I change the width of the template? (v1.2+)
Thanks to AnonyPuss for posting the specific areas of the classic stylesheet. Open the includes/templates/YOUR_TEMPLATE/css/stylesheet.css and change the width settings from
- 2006-08-06 - Similar Articles

How do I change the width of the template? (V1.3+)
FOR v1.3.x, assuming you've based your template on "template_default": open your stylesheet and find #mainWrapper { background-color: #ffffff; text-align: left;
- 2006-08-06 - Similar Articles

How do I change weight from pounds to Kilograms
In includes/languages/english.phpfind the following lines of code:define('TEXT_PRODUCT_WEIGHT_UNIT','lbs');define('TEXT_SHIPPING_WEIGHT','lbs');Change the highlighted portions
- 2006-10-13 - Similar Articles

How do I create a new Custom Template?
Since Version 1.3.+ Zen Cart™ has moved away from its old table based layout to a CSS based layout. CAPITALIZED words refer to a folder or language that you choose. We
- 2007-07-14 - Similar Articles

How do I disable the category/inventory counts (the numbers beside the category links)?
Open your Admin. Put your cursor over the Configuration in the top menu, choose My Store. Locate the "Show Category Counts" option.  Turn it off.
- 2006-10-10 - Similar Articles

How do I find out what files to edit?
I want to make changes to the text that shows up in xxxxxxxxx spot on xxxxxx page. How do I find out what where it is, and what file to change? 1. Use a good search tool that
- 2008-07-19 - Similar Articles

How do I remove and/or re-arrange the sideboxes?
Open your Admin. Point your cursor at "Tools" on the menu bar. Choose "Layout Boxes Controller". Click on the box that you would like to move or turn off,
- 2007-03-16 - Similar Articles

How do I set up the template overrides?
Adapted from a contribution by: NetworkdadI've been watching the forums, and I'm seeing many folks make many modifications to their cart. This is great! However, I'm also se
- 2009-09-11 - Similar Articles

How do I show the Categories on the main page?
Open your Admin. Point your cursor at the Configuration menu, choose Layout Settings from the dropdown. Find Categories - Always Show on Main Page, click edit and enable the f
- 2006-08-06 - Similar Articles

How do I turn off Reviews and/or Tell A Friend?
Product Information PagesYou can enable/disable various options at the per-product-type level:1. Open your Admin.2. Put the cursor over Catalog on the top menu.3. Choose Produ
- 2006-11-20 - Similar Articles

How do I Upgrade My Zen Cart site?
3 EASY STEPS TO UPGRADE ZEN CART™ NOTE: For each new release, there are important documents in the /docs folder of the Zen Cart ZIP file.  Please check the /docs/2
- 2007-12-07 - Similar Articles

How do Product Type files work (Programmer View)
An Introduction to Product Types in Zen Cart™ v1.2 1. Introduction A much requested feature in Zen Cart™ was the ability to have unique information layouts for
- 2009-04-13 - Similar Articles

I have set in my admin "Show Category Counts" to false, but now there are still arrows next to all categories (without folowing numbers). How can I erase those arrows?
You can control those settings here:Admin->Configuration->Layout Settings- Categories Separator between the Category Name and Count- Categories Separator between the Cat
- 2006-10-10 - Similar Articles

I want to display some of my sideboxes on my front page only, and suppress them from all other pages.
No problem. Let's use the featured product sidebox as an example.Create an over-ride for the sidebox's module file. For the featured products sidebox, this would involve copyi
- 2009-10-17 - Similar Articles

I want to move the Add to Cart box (or other section) to another place on my product page.
1. You're looking for /includes/templates/YOURTEMPLATE/templates/tpl_product_info_display.php 2. You need to locate the section that starts with and ends with these tags:
- 2006-07-25 - Similar Articles

I would like to create a new sidebox that displays "categories" that I don't want to show up in the normal categories box.
For example, I sell things to owners of dogs.  In the regular categories box I have created a list of breeds. In my new box I would like to have product type list such as
- 2007-06-11 - Similar Articles

I've got TEXT_MAIN being displayed on my page (or other unexpected UPPERCASE words)
Lesson An uppercase set of words akin to TEXT_MAIN or ENTRY_STATE_TEXT  or SOMETHING_LOOKING_LIKE_THIS  is called a "constant" in PHP language terms.A &qu
- 2007-09-15 - Similar Articles

In my Admin, I would like my invoices, packing slips, etc. to contain my company logo.
The logo used on Admin pages and on output from admin is admin/images/logo.gifIf you want to rename this, you should edit the following code from admin/languages/english.php//
- 2008-09-03 - Similar Articles

Is it possible to create/build a complete Zen-Cart setup on a test server and then install on a live server?
Yes you can! (please be sure to look at the server requirements) 1- Install Zen Cart on your test server make all the tweaks and changes there. 2- Create a backup of your da
- 2009-03-21 - Similar Articles

Is it possible to turn off shopping cart line that says "Weight: 0lbs" in "Total Items: 1 Weight: 0lbs Amount: $38.95"?
Yes.Go to:   Admin->Configuration->Shipping/PackagingSelect  Display Number of Boxes and Weight StatusChoose the desired setting:0= off1= Boxes Only2= Wei
- 2006-10-11 - Similar Articles

Language Files - What are they and how are they used?
Zen Cart uses language files or a "languages system"  to define the text content used by the various display pages of your cart.An obvious benefit of the "
- 2006-11-04 - Similar Articles

My browser bar says "Zen Cart!, The Art of ...", where do I change that?
CAPITALIZED words refer to a folder or language that you choose. We use CUSTOM for your template and ENGLISH for your language by default. These generic terms should be change
- 2007-01-21 - Similar Articles

My stylesheet is not loading; or my page loads with no styling or effect from CSS stylesheet
If your stylesheet is not loading properly (symptoms include a page that displays no coloring or expected layout etc), then your server's configuration of the Apache service i
- 2009-05-05 - Similar Articles

Parse error: unexpected T_STRING (or similar)
If you are getting an error similar to: "Parse error: parse error, unexpected T_STRING in /var/www/myaccount/public_html/includes/languages/english/SOMETHING.php on line
- 2006-08-30 - Similar Articles

Template Files - What are they and how are they used?
The template files used in Zen Cart™ provide the structure and layout of the various pagesof your cart. They make use of the definitions from your LANGUAGE FILES.These f
- 2007-07-16 - Similar Articles

The Override System really simplified
Wherever you see a folder named "classic" you can safely add your own /CUSTOM folder. includes    languages        class
- 2007-04-06 - Similar Articles

This page contains both secure and nonsecure items (or "Unauthenticated content").
Problem:When i click the Log In link as a customer i get prompted with the security prompts stating: "This page contains both secure and nonsecure items. Do you want to
- 2009-09-13 - Similar Articles

Understanding the Override System
This article is based on material originally posted by Networkdad, DrByte and other contributors."Template Override" and "Override System" are terms used t
- 2009-05-04 - Similar Articles

Using WinMerge
You can install WinMerge by downloading the latest version from their website at the WinMerge Downloads PageAfter installing, run it.To compare files press CTRL-O (File | Open
- 2007-04-18 - Similar Articles

Warning: Headers already sent...
Symptom: Warning: Cannot modify header information - headers already sent by (output started at /....includes/something/something/something.php:12) in ..../includes/something
- 2007-06-13 - Similar Articles

What do the Page Parse times and Query Counts numbers mean?
If you have enabled the display of parse times, you will see some statistical information in the footer of your pages, which looks like this:Parse Time: 0.314 - Number of Quer
- 2006-08-30 - Similar Articles

What files are used to edit both the way a product displays in the category listing and the product description page?
This is handled in many ways.  There are administrative "switches" under Admin->Configuration-> ..... a) Layout Settings, b) Product Info,  c) Produc
- 2006-10-10 - Similar Articles

What is "template_default"?
"template_default" is the master set of template files. Don't touch these (except when doing an upgrade). "classic" is a sample custom template. You can
- 2008-05-05 - Similar Articles

Where are the buttons hiding & how do I change them?
The list of buttons is in:includes/language/english/button_names.php Create your buttons using your favorite image editor. The buttons may to be saved as GIF, JPG or PNG. If y
- 2006-09-07 - Similar Articles

Where do I find the files I would edit to change other parts of my cart (i.e. template files, sideboxes, etc.)?
If you want to turn your sideboxes on and off, or move them left and right, you do this from the Admin control panel in Admin -> Tools -> Layout boxes controller. Other
- 2006-10-12 - Similar Articles


Copyright © 2003 - 2009 Zen Ventures, LLC
Get Zen Cart E-Commerce Shopping Cart at SourceForge.net. Fast, secure and Free Open Source software downloads