I understand in general, but I'm not that good with new code. According to TSG, I made a my_defines.php page and it contains-
PHP Code:
<?php
$descr_stringlist = array("PHP_CATBASKETS_DESC", "PHP_CATCHOCOLATES_DESC", "PHP_CATCOOKIES_DESC");
define('PHP_CATBASKETS_DESC', 'Overview:<br />Delivery by courrier across Canada- $8. No weekend delivery. <br />Extra charge for wrong address. <br />');
define('PHP_CATCHOCOLATES_DESC', 'These decals will be shipped in two weeks after receiving your order.');
define('PHP_CATCOOKIES_DESC', 'These decals will be shipped in three weeks after receiving your order.');
?>
(I'm using the first for now while I tinker.)
And then I added his code where I want it in tpl_product_info_display.php -
PHP Code:
<!--bof Product description -->
<?php if (($products_description != '') || ($current_category_id == 65) ) { ?>
<div id="productDescription" class="productGeneral biggerText">
<?php
$stripped_products_description = $products_description;
if ($current_category_id == 65) {
$stripped_products_description = $stripped_products_description . PHP_CATBASKETS_DESC;
}
echo stripslashes($stripped_products_description);
echo '</div>';
?>
<?php } ?>
<!--eof Product description -->
I tried adjusting the above, but it was based on guessing. Would you know how to modify it to do what you're saying?
Robbie