From 7311acee0f5e504eaccbcd3feb04c4886fe0514f Mon Sep 17 00:00:00 2001 From: Sam Poyigi <6567634+sampoyigi@users.noreply.github.com> Date: Tue, 4 Jun 2024 23:43:11 +0100 Subject: [PATCH] Avoid adding cart item conditions to order total --- classes/OrderManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/OrderManager.php b/classes/OrderManager.php index 26d862d..76cf6ef 100644 --- a/classes/OrderManager.php +++ b/classes/OrderManager.php @@ -285,7 +285,7 @@ public function getCartTotals() 'title' => $condition->getLabel(), 'value' => $condition->getValue(), 'priority' => $condition->getPriority() ?: 1, - 'is_summable' => !$condition->isInclusive(), + 'is_summable' => false, ]; if (array_key_exists($condition->name, $itemConditions)) {