Jump to content

L'objet Product est-il accessible dans le contexte ?


Recommended Posts

Bonjour,

Je met à jour des modules compatibles 1.4 à compatible 1.5. Avant, j'accédais au product par la variable global $product. Cette globale n’existant plus dans la 1.5, comment accéder à l'objet $product dans le module ? Dans le context, à t'on l'objet product sachant que le module est appelé dans la page product.php ('HOOK_PRODUCT_ACTIONS' => Hook::exec('displayProductButtons'))

Edited by vins (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...