How do I customise ezimerchant Professional themes / templates?

Some of our most successful customers have implemented a custom theme design with ezimerchant Professional. Usually they themselves are fluent in HTML or have enlisted the services of a professional web designer. If you are experienced in HTML coding and have a high level of knowledge of the Windows operating system and the Internet the below aims to provide you with as much information as possible about the ezimerchant Professional themes and how ezimerchant Professional uses them to generate your web site.

Before you start to modify an ezimerchant Professional theme you might like to take a look at other web sites that have edited ezimerchant Professional themes.

View our showcase

Part 1 - Lets look at what the theme files are, how and where they are stored and what ezimerchant Professional does with them

Part 1 is broken down into several Sections:

Section 1 - Where the themes are stored
Section 2 - What files make up an ezimerchant Professional theme
Section 3 - What other files are in the theme directory and what do they do
Section 4 - Which html files should I be editing
Section 5 - What happens to the theme html files

Section 1. Where are the themes stored?

The ezimerchant Professional themes are stored in the following location: c:\program files\ezimercpro\themes

In the above directory you will find over a hundred folders. Each of these folders contains a single ezimerchant Professional theme.

Take a look in one of the theme folders, you will notice that there is a sub folder called 'Singlepage'. Inside the 'SinglePage' folder you will find all the theme files.

Section 2. What files make up an ezimerchant Professional theme?

There are five main HTML files that make up an ezimerchant Professional theme:


categorypage.htm This page is the theme layout for all the category pages on your web site.
content.htm This page is the theme layout for all the additional pages on your website such as 'Home Page', 'About Us' page etc.
productpage.htm This page is the theme layout for all the detailed product description pages on your web site.
search.htm This page is the theme layout for the 'Search page' on your web site.
viewcart.htm This page is the theme layout for the 'View Cart' page on your web site.

There is also an images subdirectory which contains all of the images that are used in the theme. If when editing the theme files you wish to add an image, you should copy your image into the images directory and then insert it into the html theme file.

Section 3. What other files are in the theme directory and what do they do?

You may also find the following files in the theme directory:


modcategorypage.htm This is a temporary file. It is a copy of the categorypage.htm file
modcontent.htm This is a temporary file. It is a copy of the content.htm file
modproductpage.htm This is a temporary file. It is a copy of the productpage.htm file
modsearch.htm This is a temporary file. It is a copy of the search.htm file
modviewcart.htm This is a temporary file. It is a copy of the viewcart.htm file



These temporary copies are created automatically when you open ezimerchant Professional. They are actually the files that are used by ezimerchant Professional when generating your site. From now on in this document I will refer to these 5 files as the 'temporary theme files'.

4. Which html files should I be editing?

The main five html files you should edit are the ones listed in Section 2. You should NEVER edit the temporary theme files.

5. What happens to the theme html files?

When you open ezimerchant Professional it checks what theme you currently have selected. Then it looks in that theme directory and checks for the existence of the five temporary files. If these files don't exist then ezimerchant Professional looks for the theme files listed in Section 2 and then makes a copy of them. The copies become the temporary theme files. (Basically it makes a copy with the letters 'mod' on the front of the original file names.)

When you generate your web site, ezimerchant Professional uses the temporary theme files files to display your web site.


Part 2 - Now I know what files to edit, how do I edit them?

The theme HTML files can be edited manually in a text editor like Notepad or in a WYSIWYG environment like Microsoft Front Page 2003, Microsoft Expression Web or Dreamweaver CS3.

When you open the theme files for editing you will notice that they look rather simple. You can make all the changes you like to the theme files providing the basic page layout structure and all the tags remain intact. These are some of the things you can do to the theme files:

Once you have edited the theme file you should save it and then delete the corresponding temporary theme file as described in Part 1 and then open ezimerchant Professional and generate your web site to have a look at the changes that you have made.

Things you should NOT do when editing the theme files:

Part 3 - How to make your theme appear in ezimerchant Professional's theme list with its own name

If you have edited a theme you may want to rename the theme so that it is easily distinguished in the theme list.

The main advantage of this is that it will not get overwritten by future ezimerchant Professional patches if your theme has its own name.

Simply rename the themes directory to whatever you would like to call it.

Example: If you originally chose to edit theme 1 then you would need to rename the directory called '1' to what ever you want to call it. The next time you open ezimerchant Professional it should contain your new theme in the list.

  1. Open the themes folder in explorer.
  2. Select the theme you have been editing and then rename it. (Right Click -> Rename)
  3. Type in the new name for your theme then hit enter.

    The folder should now look something like this.
  4. Open ezimerchant Professional and goto the 'Template Settings' section. You should see your new theme in the list.

Part 4 - Editing Product Styles - Brief and Detailed

Editing the Brief and Detailed product styles is covered in another FAQ titled: How do I edit Product Styles? (Brief and Detailed Styles)

IMPORTANT NOTES

HAVE A QUESTION?

need an answer?

e-commerce FORUMS

DISCUSS

We get the THUMBS UP!

VIEW TESTIMONIALS

feeling insecure?

EZIGUARD