Skip to content

Commit 3ac1e89

Browse files
authored
add updatedCart js event
1 parent 53ebd9b commit 3ac1e89

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

themes/reference/javascript-events/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ PrestaShop will dispatch many events from `core.js` so your code can rely on it:
6666
Event Name | Description
6767
----------------------|------------------------------------------------------------------------------------------
6868
`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.
69+
`updatedCart` | This event is triggered after the cart update, after the cart reload is finished
6970
`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.
7071
`updateDeliveryForm` | During checkout, if the delivery address is modified, this event will be trigged.
7172
`changedCheckoutStep` | Each checkout step **submission** will fire this event.

0 commit comments

Comments
 (0)