Skip to content

Commit

Permalink
Avoid adding cart item conditions to order total
Browse files Browse the repository at this point in the history
  • Loading branch information
sampoyigi committed Jun 4, 2024
1 parent d2d4fdf commit 7311ace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/OrderManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 7311ace

Please sign in to comment.