Ikoshop Posted Monday at 02:38 PM Share Posted Monday at 02:38 PM (edited) I need to add some buttons to trigger functions from my stock management module (currently in development). I'd like to put them in the backoffice, somewhere like here I think I need a display hook, linked to a function which in turn calls the functions I want to trigger. I also think I need to edit a tpl file in order to display the buttons. Question: Which .tpl file should I be looking at editing for the products list screen in the back office? And, assuming this is the proper procedure, how do I make it so that this .tpl file updates with the new buttons on a Prestashop installation? I'm guessing there's some sort of override run from the module itself but I haven't figured out how that all works. Edited Monday at 02:49 PM by Ikoshop spelling (see edit history) Link to comment Share on other sites More sharing options...
Nickz Posted Monday at 04:19 PM Share Posted Monday at 04:19 PM Have you read the documentation? https://devdocs.prestashop-project.org/8/modules/sample-modules/order-pages-new-hooks/additional-action-buttons/ Link to comment Share on other sites More sharing options...
Ikoshop Posted yesterday at 03:59 PM Author Share Posted yesterday at 03:59 PM (edited) I've read everything I could but just can't find anything relating to the product list page in v 1.7 ps_mbo.php seems to have some of the content of that zone but I'm stuck on how to edit it Edited yesterday at 04:00 PM by Ikoshop (see edit history) 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