mzfp Posted December 9, 2012 Share Posted December 9, 2012 Hi All, I'm working on a module for a website which requires the presence of a custom textfield displayed while editing the product in the backoffice, preferably in the Information tab. I'd like to this without needing to modify any files outside of the files in my module folder (via module hooks or something similar). I've seen a couple of tutorials but they require the edit of AdminTabs.php which I want to desperately avoid! Before I invest too much time into this, I was wondering firstly, if this was even possible under Prestashop 1.5x ? And if it is, how I would go about implementing it. many thanks for your help in advance. Link to comment Share on other sites More sharing options...
NemoPS Posted December 9, 2012 Share Posted December 9, 2012 (edited) As far as I know, there is a hook in the back office to add tabs to the product page (at least, there was in 1.4), but to add a block in that specific information tab you'll definitely need to edit the admin tabs. Please, anyone correct me if I'm wrong! Edited December 9, 2012 by Nemo1 (see edit history) Link to comment Share on other sites More sharing options...
mzfp Posted December 10, 2012 Author Share Posted December 10, 2012 Hi Nemo, Thanks for your helpful insight. I suspected as much and will add a new tab in that case to avoid editing files outside of the module directory. Link to comment Share on other sites More sharing options...
NemoPS Posted December 11, 2012 Share Posted December 11, 2012 Yep. Just as a reference, it was hookBackOfficeTop in 1.4. I hope they preserved it, even though it's not present in their official list on the Docs 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