Genie Posted July 15, 2014 Share Posted July 15, 2014 Hello I am new to prestashop. I want to override the product page with a custom module. Please guide how to do that. Link to comment Share on other sites More sharing options...
vekia Posted July 15, 2014 Share Posted July 15, 2014 hello you want to override product controller? if so, you have to create module with override ProductController.php, or just simple override for this controller 1 Link to comment Share on other sites More sharing options...
Genie Posted July 15, 2014 Author Share Posted July 15, 2014 (edited) Hello Vekia Suppose i want to override the product page with class. And so I have write a file Product.php /modules/my_module/override/classes/Product.php and the view file for admin in mymodule/override/controllers/admin/templates/products/informations.tpl But i cannot see the changes in my back offce product add or edit page. But the same thing when i am doing in main folders override folder i can clearly see the changes. Please help. I want to override the product page with my own module. Thanks Genie Edited July 15, 2014 by Genie (see edit history) Link to comment Share on other sites More sharing options...
Nishith Nesdiya Posted July 15, 2014 Share Posted July 15, 2014 hello, if you ceate a module and you can add the product view page in admin side then you call the hook.. displayAdminProductsExtra your module install method.and you can save the product data the you call the action hook.. actionProductUpdate show all the prestashop hook here http://doc.prestashop.com/display/PS15/Hooks+in+PrestaShop+1.5 Link to comment Share on other sites More sharing options...
Genie Posted October 31, 2014 Author Share Posted October 31, 2014 Hello Nishith Thanks for your reply. Suppose i want to change the view of product details page. What should me do. Will you please explain. As i am new to prestashop. Thanks 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