Jump to content

Module to quotation (positioning on the product page)


Nilson Jr.

Recommended Posts

Hello,

 

Developed a module for performing requests budgets.

 

But I have had difficulties with the placement of the button "Make budget" on the product page through the hook. I would like to place the button where is the button that adds the product to cart.

 

look: http://eklesiarepresentacoes.com.br/index.php?id_product=14&controller=product

 

Currently the hook function is thus:

 

public function install()
{
 parent::install();
 if(!$this->registerHook('extraLeft'))
 return false;
}

 

public function hookExtraLeft($params)
{
 global $smarty;
 $smarty->assign('this_path', $this->_path);
 return $this->display(__FILE__, 'product_page.tpl');
}

 

Thanks!

Link to comment
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...