From b105441837c920ccc9b1c325398ca4bdf876dc8a Mon Sep 17 00:00:00 2001 From: Angelo Romano Date: Fri, 4 Aug 2023 10:08:21 +0200 Subject: [PATCH] Bug correction in quote getSubtotal --- Block/Adminhtml/AbandonedCart/Edit/Form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Block/Adminhtml/AbandonedCart/Edit/Form.php b/Block/Adminhtml/AbandonedCart/Edit/Form.php index 3010212..5e9cda0 100644 --- a/Block/Adminhtml/AbandonedCart/Edit/Form.php +++ b/Block/Adminhtml/AbandonedCart/Edit/Form.php @@ -192,7 +192,7 @@ public function getSubtotal(Quote $quote, $inclTax = false) $address = $quote->isVirtual() ? $quote->getBillingAddress() : $quote->getShippingAddress(); $subtotal = $inclTax ? $address->getSubtotalInclTax() : $address->getSubtotal(); - return $this->formatPrice($subtotal, $quote->getId()); + return $this->formatPrice($subtotal, $quote->getStoreId()); } /**