Jump to content

How to get callback executed if prodcut combination/variant changes PS1.7


Recommended Posts

Hello developer collegues,

 

I need your help. I want to trigger some action on the product page if the customer changes for exampel the sze or weight of a product. In earlier prestashops it did not call the cart and the product with a ajax request to update its price.

 

Now I have the issue that I do not know when the update call is finished.

 

Does prestashop provide a special hook for the products page then the update of the price was done or is there a jquery Deferred object i can monitor?

 

 

like

$.when( objProdutUpdateDone ).then(function(){ doMyModulePrierelatedstuff(); });

Many Thanks in advance

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