Skip to content

Commit dd59553

Browse files
committed
update the config example in the readme
1 parent 37fadcd commit dd59553

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,17 @@ Publish the config file with `php artisan vendor:publish`
4040
```php
4141

4242
return array(
43-
'storage' => 'session', //session, cache
43+
'storage' => 'session', //session, cache, file
4444

4545
// Cache
4646
// Laravel documentation for more information
4747
'cache_prefix' => 'moltin_cart_',
4848
'cache_expire' => '-1', //in minutes, -1 permanent caching
4949

50+
// Filesystem
51+
// Folder Name inside the Storage Path
52+
'storage_folder_name' => 'moltin_cart',
53+
5054
// Identifier
5155
// With a requestcookie (choose for storage: cache, the session will be expired), the cart could be reloaded from a http request, example: the customer could save his cart link (email, hyperlink) and reopen this later.
5256
// If there is no request, the cookie will be loaded.

0 commit comments

Comments
 (0)