View Single Post
  #3  
Old 07-22-2011, 11:48 AM
 
imageizeverything imageizeverything is offline
 

eXpert
  
Join Date: Mar 2005
Location: Manhattan, New York City
Posts: 250
 

Question Re: How do I include contents of a php page into a product's detail page

Quote:
Originally Posted by cflsystems
You can't do that. You can include smarty code in the description if you want to and then use 'eval' smarty to show description. If you want to include php code in smarty you have to use
{php}
php code here
{/php}
in the template (not in the description) but this is not recommended at all

Is it safe to Embed the php page into the description area of a product?

I have a php page with some sizing & measurement info & a image diagram on it, that I want to post on some products pages. But to save time from having to retype it each time, I figured i could embed it. That way if i wanted to update the sizing info, I could change one page to have it change on the product pages i put it on.
__________________
Using
*Upgrading Dev Copy of 4.4.3 to 4.6.3 (currently at 4.5.4)
X-Cart Gold Version 4.6.3 (Fresh Install)
X-Cart Gold Version 4.4.4
X-Cart Gold Version 4.4.3
Godaddy Shared Linux Hosting
PHP 5.3.24
MySQL server 5.5.33-log
MySQL client 5.5.19
-----------------------------------------------
Reply With Quote