diff --git a/src/Service/ShopContent/OrderCartRulesService.php b/src/Service/ShopContent/OrderCartRulesService.php index 044bca19..78e6451f 100644 --- a/src/Service/ShopContent/OrderCartRulesService.php +++ b/src/Service/ShopContent/OrderCartRulesService.php @@ -135,6 +135,10 @@ private function castOrderCartRules(&$orderCartRules) $orderCartRule['gift_product_attribute'] = (int) $orderCartRule['gift_product_attribute']; $orderCartRule['highlight'] = (bool) $orderCartRule['highlight']; $orderCartRule['active'] = (bool) $orderCartRule['active']; + + $orderCartRule['value'] = (int) $orderCartRule['value']; + $orderCartRule['value_tax_excl'] = (int) $orderCartRule['value_tax_excl']; + $orderCartRule['deleted'] = (bool) $orderCartRule['deleted']; } } }