Guest Amalgam Posted March 8, 2010 Share Posted March 8, 2010 I am new to Cube Cart. Apparently, I cannot use the <?php ?> tags I would normally use. How would I add my own php script to a Cube Cart page? Thanks. Quote Link to comment Share on other sites More sharing options...
Guest Amalgam Posted March 10, 2010 Share Posted March 10, 2010 Hello? Anyone? Please help. Quote Link to comment Share on other sites More sharing options...
Guest Posted March 10, 2010 Share Posted March 10, 2010 It's a wee bit tricky, but this should get you started: Read the Cubecart section: http://www.practicalecommerce.com/blogs/po...your-templates- I have seen other posts in this forum too, I found this one helpful for creating templates: http://forums.cubecart.com/index.php?showtopic=35499 Quote Link to comment Share on other sites More sharing options...
goober999 Posted March 10, 2010 Share Posted March 10, 2010 I am new to Cube Cart. Apparently, I cannot use the <?php ?> tags I would normally use. How would I add my own php script to a Cube Cart page? Thanks. Hi, Cubecart templates do not support PHP code, they only display the results of PHP scripts. To add functionality, you must edit the php script related to the template you need to modify. For example, edit viewProd.inc.php script to add functionality to viewProd.tpl file. Thanks /Goober Quote Link to comment Share on other sites More sharing options...
Guest Amalgam Posted March 10, 2010 Share Posted March 10, 2010 edit viewProd.inc.php script to add functionality to viewProd.tpl file. Thanks, Goober. But where do I find the aforementioned viewProd.inc.php file? Nevermind... I found it. :( Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.