Merge pull request #2002 from amitsharma322/gli-3345
Fixed: Cart popup not updating after adding or removing service products in the front office
This commit is contained in:
@@ -679,6 +679,10 @@ $(document).ready(function()
|
||||
success: function(jsonData) {
|
||||
if (!jsonData.hasError) {
|
||||
showSuccessMessage(txtExtraServiceSucc);
|
||||
// refresh the header cart dropdown too
|
||||
if (typeof ajaxCart !== 'undefined') {
|
||||
ajaxCart.refresh();
|
||||
}
|
||||
} else {
|
||||
showErrorMessage(jsonData.errors);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user