enginious Posted May 30, 2011 Share Posted May 30, 2011 Hi,I'm fairly new to Prestashop, but getting to grips reasonably well - I'd like to add a module just above the "Choose your delivery method" section of the shipping part of completing an order.I set up a module and the necessary hook (I think), but nothing seems to ever show up there. Is there anything obvious I would be doing wrong?All I want to do is add a note advising on delivery, because it's only within certain postcodes (there are a lot of them) and it seemed the best way to do it.Any help would be much appreciated.Thanks,Simon. Link to comment Share on other sites More sharing options...
shokinro Posted May 30, 2011 Share Posted May 30, 2011 what hook are you using? Link to comment Share on other sites More sharing options...
enginious Posted May 31, 2011 Author Share Posted May 31, 2011 Hi,Thanks for replying - I'm trying to use the "Before Carrier List" hook, if that's the right one to use.Also I guess it might help if I tell you that I'm using version 1.4Thanks,Simon. Link to comment Share on other sites More sharing options...
shokinro Posted May 31, 2011 Share Posted May 31, 2011 I think you are correct. but hook accurate name should be "beforeCarrier".so in you module, you need to register to this hook inside Install() method if (!$this->registerHook('leftcolumn') OR !$this->registerHook('beforeCarrier') .... and you need have method to display this hook. public function hookBeforeCarrier($params){....} 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