Forums / General Questions / Zen Cart Questions

Zen Cart Questions

Locked
Results 1 to 5 of 5
This thread is locked. New replies are disabled.
02 Oct 2007, 16:05
#1
ow_design avatar

ow_design

New Zenner

Join Date:
Jul 2007
Posts:
13
Plugin Contributions:
0

Zen Cart Questions

Okay i have a few questions about customizing zen cart slightly for a client...

First of all is it possible in the attribute area of a product description to put a link to an external page??
e.g. Installation | Click Here {Click here being the link}

Secondly is there a way to put the following under the top image on the product description page ( Click image to enlarge )

Lastly is it possible to move all the category names in the category sidebox so they align right: go to http://www.fairytalecottages.co.uk to see what i mean.

Thanks in advance for your help!.
Ollie.
03 Oct 2007, 09:46
#2
ow_design avatar

ow_design

New Zenner

Join Date:
Jul 2007
Posts:
13
Plugin Contributions:
0

Re: Zen Cart Questions

Please, any help would be appreciated :)
03 Oct 2007, 12:12
#3
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Posts:
21,876
Plugin Contributions:
6

Re: Zen Cart Questions

You have a Template Monster template, which makes many modifications that should be simple much more complicated or difficult.
TM has eliminated nearly all the meaningful tags that can be used in the stylesheet to control your page. Some styling they have hard-coded and some they have assigned to gobbledygook tags.
What should be controlled by #categories a {} or a.category-top {} is under the memorably named .ul2 li {}. Find this in your stylesheet:
.ul2 li { background:url('../../delta-906_copy(1') repeat-x bottom; margin:0px; padding-left:0px; padding-right:0px; padding-top:3px; padding-bottom:4px}
and add
; text-align: right;
to change it to this
.ul2 li { background:url('../../delta-906_copy(1') repeat-x bottom; margin:0px; padding-left:0px; padding-right:0px; padding-top:3px; padding-bottom:4px; text-align: right;}




You can easily put a link in the product description area, just by including the code for it when you enter the description text. I would have to do some checking to advise how to put a link directly in the attributes area.



The "larger image" link under the main image is standard in Zen Cart; TM has either disabled or deleted the code for it. Look in /includes/templates/template_default/templates/tpl_product_info_display.php to find the original in the <!--bof Main Product Image --> section.

Once you have the function restored, you should be able to change the text by editing the definition in /includes/languages/your_template/english.php, Line #291 : define('TEXT_CLICK_TO_ENLARGE', 'larger image');
03 Oct 2007, 14:46
#4
ow_design avatar

ow_design

New Zenner

Join Date:
Jul 2007
Posts:
13
Plugin Contributions:
0

Re: Zen Cart Questions

WoW, Thanks Glenn,

You are a Zen expert, I managed to align the categories which was most important however when i tried to put the code in for the "large image" text nothing came up on the site except "page error" in Internet Explorer Footer bar.

Any other ideas?

Thanks Again.
Ollie.
03 Oct 2007, 15:38
#5
kim avatar

kim

Obaa-san

Join Date:
Jun 2003
Posts:
26,564
Plugin Contributions:
0

Re: Zen Cart Questions

You need to talk to Template Monster.