Jump to content

Hook::exec('actionUpdateQuantity',array[params])


jennywill

Recommended Posts

I want to see the code that executes when this is called.  

 

Hook::exec('actionUpdateQuantity',array('id_product' => $id_product,'id_product_attribute' => $id_product_attribute,'quantity' => $quantity)

 

Anyone know where it is?  I have been digging for hours, and I can not find it in Prestashop 1.5.6.2

 

I am specifically looking for all of the places in the db that are updated when quantity is changed. I have found updates and inserts to:

ps_product

ps_cart_stock_available

ps_cart_product_shop

ps_cart_log

 

Not using advanced stock management. 

 

Thank you so much to anyone that can point me in the right direction.  After digging so long the lines start to blur and run together. 

Link to comment
Share on other sites

Thank you very much for a quick reply.  I do see that, but if anyone can point me to the actual SQL that is executed to store the params in the db, that would be even better as I continue to dig.

 

I know about ps_product

ps_cart_stock_available

ps_cart_product_shop

ps_cart_log

 

but I am missing something somewhere........BTW not using any attributes so my product_attributes tables are empty. 

 

Much appreciated. 

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