Jump to content

Recover product data on it's creation


Recommended Posts

Hello there!

 

I'm trying to get the data of product right after i'ts creation.

 

I've tried using the actionProductAdd hook, but I don't really knwo how to get it's info, as the method of Tools::getValue('id_product'); is not working like in other hooks.

 

Is it possible to get the product object? I only need the product_id and the manufacturer_id.

 

Thanks!

Link to comment
Share on other sites

×
×
  • Create New...