Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Setting Up Your Zen Cart Products / Setting Up Categories, Products, Attributes / How can I setup a discliamer at the bottom of all product pages?

How can I setup a discliamer at the bottom of all product pages?

Locked

Started by candylotus on 6 Aug 2008, 3:11 AM · Views: 1,273

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
6 Aug 2008, 3:11 AM
#1
candylotus avatar

candylotus

New Zenner

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

Post #1 by candylotus

Would there be an easy way to set-up a disclaimer that is on the very bottom of each and every product page?

6 Aug 2008, 7:42 AM
#2
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Post #2 by fairestcape

THREE EASY STEPS.

includes/templates/template_default/templates
Open tpl_product_info_display.php

Find the line that begins...

<!--eof Additional Product Images -->

Insert this directly underneath it

<div class="productDisclaimer"><?php echo PRODUCT_DISCLAIMER_TEXT; ?></div>

SAVE the file to your over-rides directory (ie: custom template...
... for example:
includes/templates/YOUR-template/templates/tpl_product_info_display.php


includes/languages/
OPEN english.php

Place this somewhere amongst the DEFINES - not critical where exactly, but look for similar defines so that if you have to look for it later you'll kinda know where it's likely to be:-

// product disclaimer text
  define('PRODUCT_DISCLAIMER_TEXT', 'People use this product entirely at their own risk, or some other message that you want here...');

SAVE the file to your over-rides directory, for example:
includes/languages/YOUR-template/english.php


  1. (optional)
    As you have a new STYLE class for this DIV (<div class="productDisclaimer">), you can assign a unique style if you want to in your stylesheet.css .

#productDisclaimer {
insert any style declarations here
}


9 Aug 2008, 1:22 AM
#3
candylotus avatar

candylotus

New Zenner

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

Post #3 by candylotus

Thanks sooooooooo much! That worked perfectly.

28 Jul 2009, 7:39 PM
#4
forced avatar

forced

New Zenner

Join Date:
Oct 2007
Posts:
61
Plugin Contributions:
0

Post #4 by forced

I used this to add a disclaimer for product photos. Worked perfect. thanks!
:clap:

28 Jul 2009, 7:49 PM
#5
forced avatar

forced

New Zenner

Join Date:
Oct 2007
Posts:
61
Plugin Contributions:
0

Post #5 by forced

OOops forgot to put a link:
superchargersuperstore.com