Jump to content

info script hook product.tpl (Resolved)


Recommended Posts

good morning

I bought a module on addons / prestashop ... I tried to contact the developer but he never answers me ....

this module gives the possibility to place the hook where I want.

I created the hook in the database called "displayproductfield" I grafted it to the module in modules --- positions but I do not know how to insert the hook in the product.tpl page ... in the form page is written.

"The option is used in case when your theme was changed to a lot.
Hook :: exec ('customHookName', array ('product' => $ this-> product))
{hook h = 'customHookName' product = $ product} "

.. but I do not know how to place it .. is it all in the product.tpl file?

I imagine that instead of customHookName should put displayproductfield ... but if I put

Hook :: exec ('displayproductfield', array ('product' => $ this-> product))
{hook h = 'displayproductfield' product = $ product}

the product.tpl page from error
Edited by overbags
Resolved (see edit history)
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...