You need to make a define in a language file. Steps to do that :
1. Make a new file in includes/languages/english/extra-definitions and call it something like my_definitions.php . The file should look something like :
Code:
<?php
define('MY_NEW_DEFINE', 'Text to appear on page in English');
2. Make a new file in includes/languages/dutch/extra-definitions and call it the same thing . The file should look something like :
Code:
<?php
define('MY_NEW_DEFINE', 'Text to appear on page in Dutch');
So far you have defined a constant called 'MY_NEW_DEFINE' that will be one thing in english and will be another thing in dutch.
3. Now you need to used that in one of the templates. If you are trying to put it on the product_info page you will probably want to edit includes/templates/YOURTEMPLATE/templates/tpl_product_info_display.php. Depends a bit where you actually want to out the text. In that file you need to add the following code:
Code:
<?php
echo MY_NEW_DEFINE;
?>
That's it .
Actually there are a few subtleties ( like making override versions of the first two files ) but the above should work.
Bookmarks