shah khalid Posted January 11, 2010 Posted January 11, 2010 Hello friends i am totlly new to oscommerce.i have a little experience of oscommerce. The problem i am faceing is "when i past php code in the product discription area from the admin side it is printed as text on the product_info page". How can i solve this problem? plz help me. thanks in advance
Guest Posted January 11, 2010 Posted January 11, 2010 Shah, Product description is a text or HTML field. You can Link to another function but I do not believe you can run a php function within the field. Chris
shah khalid Posted January 11, 2010 Author Posted January 11, 2010 Shah, Product description is a text or HTML field. You can Link to another function but I do not believe you can run a php function within the field. Chris it is an html field.
Guest Posted January 11, 2010 Posted January 11, 2010 Shah, Yes it is, so I don't think you can execute a php file within that field. Chris
shah khalid Posted January 11, 2010 Author Posted January 11, 2010 Shah, Yes it is, so I don't think you can execute a php file within that field. Chris i don't know exactly wether it is possiable or not but i have been told that we can do so. actually i want to show a tab on the product_info page and on the click i want to show all the reviews written by the customers below the product on the same page. i have linked the tabe with a php file which fetches all the reviews from the db table and prints it. how can i accoplish this task?
germ Posted January 11, 2010 Posted January 11, 2010 It is possible to execute a PHP script embedded within the products description. I don't have a link to the thread concerning this but I can look it up later and post it if you're interested. And if I do post the link, don't count on me for any support. It is what it is. If it works for you - great (it worked for the other person). If not - you're on your own (as far as I'm concerned). :-" If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Guest Posted January 11, 2010 Posted January 11, 2010 Oh thank you Jim, I didn't think it was possible...........learn something new everyday ! Chris
Recommended Posts
Archived
This topic is now archived and is closed to further replies.