mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-23 23:51:25 +00:00
Update cart.php
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use Money\Money;
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -13,6 +15,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,
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user