diff --git a/app/code/Magento/Tax/view/frontend/web/js/view/checkout/summary/grand-total.js b/app/code/Magento/Tax/view/frontend/web/js/view/checkout/summary/grand-total.js index 20fb780746f8b83b6df5f80b5bfbf3cde176f6c5..275a357771e9059ba7ebe01e1b7d02b96ecc822c 100644 --- a/app/code/Magento/Tax/view/frontend/web/js/view/checkout/summary/grand-total.js +++ b/app/code/Magento/Tax/view/frontend/web/js/view/checkout/summary/grand-total.js @@ -7,9 +7,10 @@ define( [ 'Magento_Checkout/js/view/summary/abstract-total', - 'Magento_Checkout/js/model/quote' + 'Magento_Checkout/js/model/quote', + 'Magento_Catalog/js/price-utils' ], - function (Component, quote) { + function (Component, quote, priceUtils) { "use strict"; return Component.extend({ defaults: { @@ -33,7 +34,7 @@ define( if (this.totals()) { price = this.totals().base_grand_total; } - return this.getFormattedPrice(price); + return priceUtils.formatPrice(price, quote.getBasePriceFormat()); }, getGrandTotalExclTax: function() { var totals = this.totals();