Skip to content

Commit c116778

Browse files
committed
Cart total should include discount
1 parent b48ba9e commit c116778

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DataLayer/Tag/Cart/CartValue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ public function __construct(
2828
*/
2929
public function get(): float
3030
{
31-
return $this->priceFormatter->format((float)$this->cartModel->getQuote()->getSubtotal());
31+
return $this->priceFormatter->format((float)$this->cartModel->getQuote()->getSubtotalWithDiscount());
3232
}
3333
}

0 commit comments

Comments
 (0)