sakumar91 Posted December 24, 2015 Share Posted December 24, 2015 Hi, I want to add a new page where I give some functionality. I would like to open this page via some link/button above ADD TO CART button. 1. To do this, I tried creating a new CMS page but it does not give me options to add PHP, JQuery and JavaScript code. I need this for implementing my custom functionality. 2. I tried adding a new page following this link: http://nemops.com/creating-new-pages-in-prestashop/#.VnupZXYwhpg I could not even get this work: Now that the class is there, let’s go to index.php?fc=module&module=testmodule&controller=allproducts. I am using Prestashop 1.6. Can anyone help me or point me to some link? All I need is a good way to add a new page where I can keep my computation logic. Thanks Link to comment Share on other sites More sharing options...
Daresh Posted December 24, 2015 Share Posted December 24, 2015 Go through the MyModule tutorial, you can place all your logic in the controller: http://doc.prestashop.com/display/PS15/Creating+a+PrestaShop+module 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