Jump to content
bristolking

displayShoppingCartFooter Hook is not working in my custom module

Recommended Posts

@vekia I have a custom module with the following code in the  displayShoppingCartFooter Hook for displaying contents from .tpl file just above the cart navigation but it doesn't works and doesn't display anything - can you advice what is the thing I am missing here.

 public function hookDisplayShoppingCartFooter($params)
  {
        $this->context->smarty->assign('module_dir', $this->_path);
        this->display(__FILE__, 'views/templates/hook/shoppingcart.tpl'); 
 }

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More