Jump to content

How to move a button from shoppingCart to Shipping step


suwanchaic
 Share

Recommended Posts

Just install print quotation addon and after press cart then display a new button 'print quotation' on the web store in the first step => Summary, given code like this:

!$this->registerHook('shoppingCart')
and ....

function hookShoppingCart($params)
{
return $this->display(__FILE__, 'printquotecarttopdf.tpl');
}


I try to move the button 'print quotation' to step => Payment , modify the line like this:

!$this->registerHook('payment')

and change the line...

function hookPayment($params)
{
return $this->display(__FILE__, 'printquotecarttopdf.tpl');
}

But it's not work. Do anyone know how to hook the button???

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
 Share

×
×
  • Create New...

Important Information

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