From 4021baf038ea32c3d3aab08f04338963fd109cde Mon Sep 17 00:00:00 2001 From: Patrick Date: Tue, 18 Jan 2022 00:57:19 +0100 Subject: [PATCH] Update cart.php --- src/Config/cart.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/Config/cart.php b/src/Config/cart.php index 42f667a..bfc5c43 100644 --- a/src/Config/cart.php +++ b/src/Config/cart.php @@ -1,5 +1,7 @@ \Gloudemans\Shoppingcart\Calculation\DefaultCalculator::class, + + /* + |-------------------------------------------------------------------------- + | Rounding strategy + |-------------------------------------------------------------------------- + | + | This default value is used to select the method to calculate prices and taxes + | If true the item price is managed as a gross price, so taxes will be calculated by separation/exclusion + | + */ + + 'rounding' => Money::ROUND_UP, /* |--------------------------------------------------------------------------