Skip to content

Commit

Permalink
Merge pull request #1820 from jf-viguier/patch-30
Browse files Browse the repository at this point in the history
add updatedCart js event
  • Loading branch information
kpodemski authored Jun 6, 2024
2 parents 53ebd9b + 3ac1e89 commit 9507855
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions themes/reference/javascript-events/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ PrestaShop will dispatch many events from `core.js` so your code can rely on it:
Event Name | Description
----------------------|------------------------------------------------------------------------------------------
`updateCart` | On the cart page, everytime something happens (change quantity, remove product and so on) the cart is reloaded by ajax call. After the cart is updated, this event is triggered.
`updatedCart` | This event is triggered after the cart update, after the cart reload is finished
`updatedAddressForm` | In the address form, some input will trigger ajax calls to modify the form (like country change), after the form is updated, this event is triggered.
`updateDeliveryForm` | During checkout, if the delivery address is modified, this event will be trigged.
`changedCheckoutStep` | Each checkout step **submission** will fire this event.
Expand Down

0 comments on commit 9507855

Please sign in to comment.