
Originally Posted by
swguy
The product description that you enter into the database can include HTML but not PHP. However, you could always modify tpl_product_info_display.php (perhaps conditionally on product id if that's what you need) to do an inclusion. What exactly are you trying to do?
Scott
Scott,
Can you please tell the php code for modifying the tpl_product_info_display.php,
conditionally on a product ID.
Here is what I want to accomplish:
Edit the tpl_product_info_display.php to call a specific html file, based on the product ID.
Example:
PHP Code:
If product ID 1 then ?php include("/includes/folder1/product_description_1.html"); ?>
else, continue checking
This is a workaround for php include not being allowed in product description.
Best,
Vova