Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Adding static text on every product page

Adding static text on every product page

Locked

Views: 2,249

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
15 Jul 2010, 2:44 AM
#1
madd0g avatar

madd0g

New Zenner

Join Date:
Jun 2010
Posts:
35
Plugin Contributions:
0

Adding static text on every product page

I would like to add some text at the bottom of every product page by default. Is there a way to do this?

I don't want to manually put the same thing on every product page.

Thanks!

15 Jul 2010, 2:45 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Adding static text on every product page

What kind of text, and why?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

15 Jul 2010, 3:26 AM
#3
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Adding static text on every product page

MaDd0g:

I would like to add some text at the bottom of every product page by default. Is there a way to do this?

I don't want to manually put the same thing on every product page.

Thanks!

There's a "product disclaimer" mod available in the downloads section.

The mod places your disclaimer text in the footer of the page.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

15 Jul 2010, 4:03 AM
#4
madd0g avatar

madd0g

New Zenner

Join Date:
Jun 2010
Posts:
35
Plugin Contributions:
0

Re: Adding static text on every product page

Thanks Clyde
I would want something like the product disclaimer mod but actually add it at the bottom of the product page and not the footer.

DrByte
All of my products are similar in nature. I would add things such as

"Please fill out this form if you need to..."
"Click this link for ... in your area"
"Still cannot decide? Visit this page for frequently asked questions"

Just a few lines for them to get important info in case they did not look at it elsewhere on the site. If they are looking at the product then more than likely they will see that text and use it if needed.

It would be important information for closing the sale.

15 Jul 2010, 4:06 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Adding static text on every product page

So, it will vary from page to page?
Surely you're not planning to put all 3 of those on every page? If you are, then it seems like you want a whole big block of text and even a form? That gets pretty significant in size ... sounds more like a secondary footer or something?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

15 Jul 2010, 4:13 AM
#6
madd0g avatar

madd0g

New Zenner

Join Date:
Jun 2010
Posts:
35
Plugin Contributions:
0

Re: Adding static text on every product page

I want to put the same info at the bottom of every product page. Not the examples I gave you neccesarily, but three lines of text or so to help close the sale.

I may want to change it at some point so I don't want to manually add it. So I would like a central way to add/remove/change this information. But the information would be the same on every page.

15 Jul 2010, 4:28 AM
#7
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Adding static text on every product page

MaDd0g:

I want to put the same info at the bottom of every product page. Not the examples I gave you neccesarily, but three lines of text or so to help close the sale.

I may want to change it at some point so I don't want to manually add it. So I would like a central way to add/remove/change this information. But the information would be the same on every page.

You might want to check here on how to add "boiler plate" text to the product description.

zencart_php_in_description.html

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

15 Jul 2010, 11:54 AM
#8
dgent avatar

dgent

Totally Zenned

Join Date:
Nov 2009
Location:
UK
Posts:
1,117
Plugin Contributions:
0

Re: Adding static text on every product page

MaDd0g:

I want to put the same info at the bottom of every product page. Not the examples I gave you neccesarily, but three lines of text or so to help close the sale.

I may want to change it at some point so I don't want to manually add it. So I would like a central way to add/remove/change this information. But the information would be the same on every page.

Just add the text to the template file tpl_product_info_display and it will show on every listing. Place it in the file where you want it to go, ie after the price, after description etc...