From 6eadce90429d579bd73855da4b2ce737bba4c175 Mon Sep 17 00:00:00 2001 From: Stanislav Idolov <sidolov@ebay.com> Date: Fri, 16 Oct 2015 19:41:54 +0300 Subject: [PATCH] MAGETWO-44005: Checkout with Paypal Express button becomes unavailable after changing quantity in Mini Shopping Cart --- .../Magento/Checkout/view/frontend/web/js/view/minicart.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/code/Magento/Checkout/view/frontend/web/js/view/minicart.js b/app/code/Magento/Checkout/view/frontend/web/js/view/minicart.js index 68f02b5d572..7c4025a51c2 100644 --- a/app/code/Magento/Checkout/view/frontend/web/js/view/minicart.js +++ b/app/code/Magento/Checkout/view/frontend/web/js/view/minicart.js @@ -72,6 +72,12 @@ define([ this.isLoading(addToCartCalls > 0); sidebarInitialized = false; initSidebar(); + + /**TODO: Extra options support. Should be refactored after MAGETWO-43159. */ + setInterval(function(){ + minicart.trigger('contentUpdated'); + }, 500); + }, this); $('[data-block="minicart"]').on('contentLoading', function(event) { addToCartCalls++; -- GitLab