mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-24 07:55:35 +00:00
Working on improved configuration and automatically destroy cart on user logout
This commit is contained in:
@@ -11,6 +11,37 @@ return [
|
||||
| Taxable interface and use the HasTax trait.
|
||||
|
|
||||
*/
|
||||
'tax' => 21
|
||||
|
||||
'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,
|
||||
|
||||
];
|
||||
Reference in New Issue
Block a user