ironwill Posted May 7, 2015 Share Posted May 7, 2015 Hello, I am developing a module for create the free order. From back office admin can add a free product from module configuration and it should show under order detail page of user account section after any validate order. public function actionValidateOrder($params){ return Hook::exec('displayOrderDetail'); } public function displayOrderDetail($params){ $this->context->smarty->assign( array( 'my_module_name' => Configuration::get('MYMODULE_NAME'), 'my_module_link' => $this->context->link->getModuleLink('freeorder', 'display') ) ); return $this->display(__FILE__, 'freeorder.tpl'); } I have used two hook, one after validate order it should display a freeorder hook on displayorderdetail page. But unable to see any content on order detail page. Can you please suggest me, where i did something wrong. Thanks ! 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