On the Front-End the "
ord:OnUpdate" event is used to change shopping cart data (e.g. apply coupon).
To support shopping cart update via AJAX (without page reload) the "
ord:OnUpdateAjax" event needs to be added.
- add the "
OnUpdateAjax" event to the "
- change the "
OrdersEventHandler::CheckPermission" method to make all "
OnUpdate*" event to be checked for ownership (order, which update is requested is owned by logged-in user)