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?
Started by candylotus on 6 Aug 2008, 3:11 AM · Views: 1,273
New Zenner
Would there be an easy way to set-up a disclaimer that is on the very bottom of each and every product page?
Totally Zenned
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
#productDisclaimer {
insert any style declarations here
}
New Zenner
Thanks sooooooooo much! That worked perfectly.
New Zenner
I used this to add a disclaimer for product photos. Worked perfect. thanks!
:clap:
New Zenner
OOops forgot to put a link:
superchargersuperstore.com
Tell staff why this post should be reviewed.