-
Type: Feature Request
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.2.2-B1
-
Component/s: General
-
Labels:None
-
Change Log Group:Added
-
Change Log Message:The shopping cart content can now be updated from AJAX request.
-
Story Points:1
-
Copy Issue Key:
-
Patch Instructions:
Ensure events to support shopping cart update via AJAX (without page reload).
- add the "OnUpdateAjax" event to the "OrdersEventHandler" class
- 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)
Additionally make changes to allow AJAX update on billing checkout step -
- add "OnProceedToPreviewAjax" event
- configure it into "OrdersEventHandler::mapPermissions" same as "OnProceedToPreview" event is configured