Trek Posted January 15, 2011 Share Posted January 15, 2011 Is there a way that i can include PHP code in the Product Description box?? Link to comment Share on other sites More sharing options...
rocky Posted January 16, 2011 Share Posted January 16, 2011 No, TinyMCE doesn't let you use PHP code. You'll have to put it in the product.tpl file, though they may not work if you have lots of products and need different PHP code for each product. Link to comment Share on other sites More sharing options...
otzy Posted January 16, 2011 Share Posted January 16, 2011 I know the way to include arbitrary html code (including javascript) to product page for any product. With javascript you can load any necessary data from the server php pages. Link to comment Share on other sites More sharing options...
CYTechnologies Posted January 16, 2011 Share Posted January 16, 2011 Hi Trek,What are you looking to accomplish? Maybe we can suggest an alternative or a solution to what you are attempting to use php for. Link to comment Share on other sites More sharing options...
sors Posted January 17, 2011 Share Posted January 17, 2011 You can load data with Ajax and an external php script, but javascript including is not safety (XSS) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now