mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-20 14:25:09 +00:00
47 lines
1.2 KiB
PHP
47 lines
1.2 KiB
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' => 21,
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Shoppingcart database settings
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Here you can set the connection that the shoppingcart should use when
|
|
| storing and restoring a cart.
|
|
|
|
|
*/
|
|
|
|
'database' => [
|
|
|
|
'connection' => null,
|
|
|
|
'table' => 'shoppingcart',
|
|
|
|
],
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| 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,
|
|
|
|
]; |