Jump to content

No me funciona displayProductExtraContent


IgnacioG

Recommended Posts

Buenas, no consigo que me funcione el Hook DisplayProductExtraContent

mi codigo:
 

public function hookDisplayProductExtraContent(array $params)

{

 	$content = $this->display(__FILE__, '/views/templates/hook/prueba.tpl'); 
	$extraContent = (new ProductExtraContent()) ->setTitle('prueba') ->setContent($content);
	
	return $extraContent;
}

El hook está registrado bien, pero no consigo que me retorne nada en la pantalla de producto

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...