Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Add Text to top of Product Descriptions Page

Add Text to top of Product Descriptions Page

Locked

Views: 1,244

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
5 Sep 2008, 12:48 AM
#1
bluelion avatar

bluelion

New Zenner

Join Date:
Mar 2008
Posts:
73
Plugin Contributions:
0

Add Text to top of Product Descriptions Page

This is probably simple for most of you but I can't find the answer to this specific issue in the forums after looking for a couple of hours! I've got the site up and running and this is just a "tweak":

My client wants a line of text at the top of each Product Description page, centered above the center column, saying:

"All Prices Include Shipping"

They do not like the "free shipping" icon at all...and do not want it to say free shipping.

I can't figure out where to go to add the text, or how to add it.

Can anyone help me? And give me the specific line of code needed to insert text? I figured out how to change existing fonts, etc. via the css stylesheet, but no idea how to do this "from scratch".

(By the way...thanks to everyone who replies to these questions throughout the forum...you're a life saver!)

5 Sep 2008, 2:10 AM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,644
Plugin Contributions:
0

Re: Add Text to top of Product Descriptions Page

If you need it on all the product info pages the easiest way would be to hard code it in that template in your override directory. If you may need to change it on occasion you could create a new language define.

5 Sep 2008, 3:27 AM
#3
bluelion avatar

bluelion

New Zenner

Join Date:
Mar 2008
Posts:
73
Plugin Contributions:
0

Re: Add Text to top of Product Descriptions Page

You have to be one of the most patient people on earth...thanks for your quick reply.

Is it asking (above and beyond) for a specific line of code? I can probably figure out where to insert it in the template (at least through trial and error) but am not positive about the formatting. I know some html but am far from being "literate".

The client would like it, if possible, to be centered, in bold, and read:

All prices include shipping.

If this is stepping over a line of asking too much I will understand.
Thanks for the info you've already provided!

5 Sep 2008, 4:05 AM
#4
bluelion avatar

bluelion

New Zenner

Join Date:
Mar 2008
Posts:
73
Plugin Contributions:
0

Re: Add Text to top of Product Descriptions Page

Wait! I figured out how to insert the text by checking other lines of code.

I tried it on the product_info template and it works (to my utter amazement!) BUT: I need it to not be on the product info page but on the Product Description Pages (if this is possible.)

AND, can it not be on the home page?

I'm not clear if the home page is the same template form as the product descriptions page.

Can you direct me to the right template?

Thanks again. I'll check back tomorrow evening.

6 Sep 2008, 4:17 PM
#5
bluelion avatar

bluelion

New Zenner

Join Date:
Mar 2008
Posts:
73
Plugin Contributions:
0

Re: Add Text to top of Product Descriptions Page

Hoping this is a simple question:

where is the template (and what is it called) for the Product Descriptions page(s)?

I found the one for the Product Info page but can't find the one for the page that lists all the products of a category.

Thanks

6 Sep 2008, 5:02 PM
#6
s_t_e_v_e avatar

s_t_e_v_e

Zen Follower

Join Date:
Aug 2006
Location:
UK
Posts:
430
Plugin Contributions:
0

Re: Add Text to top of Product Descriptions Page

I believe you may need to edit the template

includes -> templates -> Your_template -> templates -> tpl_index_product_list.php