jnlanoue Posted September 18, 2014 Share Posted September 18, 2014 Hi, I have a new module for which I put an order-confirmation.tpl file in the views/templates/hook but for some reason that file is not beeing used by my store instead it is the default one. I've put this line in the php file of the module : return $this->display(__FILE__, 'views/templates/hook/order-confirmation.tpl'); I am wondering if it would be this condition that cause this situation: public function hookOrderConfirmation($params) { if (!Tools::getIsset($params['objOrder']) || ($params['objOrder']->module != $this->name)) return false; How can I validate it? Any help...? Link to comment Share on other sites More sharing options...
jnlanoue Posted September 23, 2014 Author Share Posted September 23, 2014 Any help...??? 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