File: /var/www/ayokah.co.uk/config/cart.php
<?php
return [
/*
|--------------------------------------------------------------------------
| Default tax rate
|--------------------------------------------------------------------------
|
| This default tax rate will be used when you make a class implement the
| Taxable interface and use the HasTax trait.
|
*/
'tax' => 15,
/*
|--------------------------------------------------------------------------
| Shopping cart database settings
|--------------------------------------------------------------------------
|
| Here you can set the connection that the shopping cart should use when
| storing and restoring a cart.
|
*/
'database' => [
'connection' => env('DB_CONNECTION', 'mysql'),
'table' => 'shopping_cart',
],
/*
|--------------------------------------------------------------------------
| Destroy the cart on user logout
|--------------------------------------------------------------------------
|
| When this option is set to 'true' the cart will automatically
| destroy all cart instances when the user logs out.
|
*/
'destroy_on_logout' => false,
/*
|--------------------------------------------------------------------------
| Default number format
|--------------------------------------------------------------------------
|
| This defaults will be used for the formated numbers if you don't
| set them in the method call.
|
*/
'format' => [
'decimals' => 2,
'decimal_point' => '.',
'thousand_separator' => ''
],
];