dhiru027 Posted June 10, 2017 Share Posted June 10, 2017 I am working on Prestashop 1.6.1.3 and developed a module which displays some extras fields on cart rule form (under information tab). Now, I am trying this module on Prestashop 1.6.1.5 version but here my fields are not displaying on cart rule form in admin panel. Below is code to render fields: function install() { if(!parent::install() || !$this->registerHook('displayAdminCartRulesForm')) { return false; }}function hookDisplayAdminCartRulesForm() { return 'TPL file for my custom form fields';} The above code is written in my module file. I am not able to understand why the above hook is proper calling in PS v1.6.1.3 but not PS v1.6.1.5 onwards. Can anyone share your solution of how can I resolve this issue? Or what is the wrong in above code? Link to comment Share on other sites More sharing options...
dhiru027 Posted June 10, 2017 Author Share Posted June 10, 2017 Hi, I have done all the said steps but nothing changed. I don't know why this is happening that, hook is calling in one version but not calling in the next version. 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