Update cart.php

This commit is contained in:
Patrick
2022-01-18 00:57:19 +01:00
committed by GitHub
parent d838fcddfb
commit 4021baf038

View File

@@ -1,5 +1,7 @@
<?php <?php
use Money\Money;
return [ return [
/* /*
@@ -14,6 +16,18 @@ return [
'calculator' => \Gloudemans\Shoppingcart\Calculation\DefaultCalculator::class, 'calculator' => \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,
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Default tax rate | Default tax rate