Zen Cheatsheet: Difference between revisions

From SWCP Support Wiki
Jump to navigationJump to search
No edit summary
Line 40: Line 40:
| define('HEADER_LOGO_WIDTH', '192px')<br>define('HEADER_LOGO_HEIGHT', '64px')<br>define('HEADER_LOGO_IMAGE', 'logo.gif')
| define('HEADER_LOGO_WIDTH', '192px')<br>define('HEADER_LOGO_HEIGHT', '64px')<br>define('HEADER_LOGO_IMAGE', 'logo.gif')
| 192x64px, logo.gif
| 192x64px, logo.gif
 
|-
| Fonts, font sizes<br>Colors<br>Borders
| Upload new CSS file(s)<sup>3</sup>
| includes/templates/CUSTOM/css/stylesheet.css<sup>2</sup>
|}
|}
<sup>1</sup>CUSTOM is your template name, ENGLISH is your language (usually english). Read the Zen Cart documentation on the override system.
<sup>1</sup>CUSTOM is your template name, ENGLISH is your language (usually english). Read the Zen Cart documentation on the override system.


<sup>2</sup>CUSTOM is your template name. Read about templates (also the override system).
<sup>2</sup>CUSTOM is your template name. Read about templates (also the override system).
<sup>3</sup>The css subdirectory may contain as many css files as you'd like, the will all be loaded.

Revision as of 11:29, 7 May 2009

Summary of where to change things in Zen Cart

Once you've spent some time with Zen Cart you'll and you have an idea of how to change things from the Admin Panel, in the templates, and in the override system, if you're like me you forget where you changed a thing. This is a summary of things you might want to change and where to find them. Please read Zen Basics and play around with your installation to get a feel for how templates work, etc before just launching into this page.

Item to Change Method to Change Where it's located Default
Number of items
in a row
in a category listing
Admin Panel Configuration --> Maximum Values --> Categories to List per Row 3
Number of items
in a row
in new products listing
Admin Panel Configuration --> Index Listing --> New Products Columns per Row 3
TagLine/Sales Message includes/languages/ENGLISH/CUSTOM/header.php folder1 define('HEADER_SALES_TEXT', 'TagLine Here'); Tagline Here
Logo upload a new GIF file. includes/templates/CUSTOM/images/logo.gif2
Logo, size or type includes/languages/english/CUSTOM/header.php define('HEADER_LOGO_WIDTH', '192px')
define('HEADER_LOGO_HEIGHT', '64px')
define('HEADER_LOGO_IMAGE', 'logo.gif')
192x64px, logo.gif
Fonts, font sizes
Colors
Borders
Upload new CSS file(s)3 includes/templates/CUSTOM/css/stylesheet.css2

1CUSTOM is your template name, ENGLISH is your language (usually english). Read the Zen Cart documentation on the override system.

2CUSTOM is your template name. Read about templates (also the override system).

3The css subdirectory may contain as many css files as you'd like, the will all be loaded.