From c8396b71a9ea503fa9d3f9736110609c80cb4057 Mon Sep 17 00:00:00 2001 From: merdan Date: Sat, 23 Apr 2022 14:26:40 +0500 Subject: [PATCH] discounted configurables --- packages/Sarga/API/Http/Resources/Checkout/CartResource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/Sarga/API/Http/Resources/Checkout/CartResource.php b/packages/Sarga/API/Http/Resources/Checkout/CartResource.php index 08380e92f..3d08455be 100644 --- a/packages/Sarga/API/Http/Resources/Checkout/CartResource.php +++ b/packages/Sarga/API/Http/Resources/Checkout/CartResource.php @@ -33,7 +33,7 @@ class CartResource extends JsonResource 'items_count' => (int) $this->items_count, 'items_qty' => (int) $this->items_qty, 'grand_total' => (double) $this->grand_total, - 'formatted_grand_total' => core()->formatPrice($this->base_grand_total), + 'formatted_grand_total' => core()->formatPrice($this->base_grand_total,$this->cart_currency_code), 'sub_total' => (double) $this->sub_total, 'formatted_sub_total' => core()->formatPrice($this->base_sub_total, $this->cart_currency_code), 'tax_total' => (double) $this->tax_total,