Jump to content

get ps_product_attribute.reference from order object


mushu

Recommended Posts

Hi guys, i'm a new user of prestashop with basic skills of php (i'm a python programmer)

i've created a custom module to manage hookActionObjectOrderAddAfter.

i need to catch the "reference" code of sold products to insert them in another custom table.

How can i get the reference from the the order object thought that hook?

prestashop version 1.7.3.0

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