Post by lodyha » Sun Jan 26, 2014 8:12 pm

How do I run PHP script in section: productNameXX/description. My simple php script is automatically in the note.

Original script:

<?php
print "p1 ";
?>

Opencart automatically saved as:

<!--?php
print "p1 ";
?-->

New member

Posts

Joined
Sat Jan 18, 2014 9:34 pm

Post by nvedia » Sun Jan 26, 2014 10:13 pm

Where did you make the modification, which file and exact lines please
Looks like you modified in the html comments section

Donate here to show support if you think I have helped you today!

Opencart Documentation


User avatar
Active Member

Posts

Joined
Sun May 22, 2011 12:54 pm

Post by lodyha » Sun Jan 26, 2014 10:55 pm

More info on the picture.
PLACE FOR SCRIPT
Image

New member

Posts

Joined
Sat Jan 18, 2014 9:34 pm

Post by nvedia » Mon Jan 27, 2014 1:18 am

Yes, that tab is designed not to run any php code

http://stackoverflow.com/questions/1678 ... escription

You would have to change the core files if you want to add your php code

Donate here to show support if you think I have helped you today!

Opencart Documentation


User avatar
Active Member

Posts

Joined
Sun May 22, 2011 12:54 pm

User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: Semrush [Bot] and 39 guests