vanilophp/demo

how to add config for cart?

Closed this issue · 3 comments

Reading the documentation and code, there's a config setting vanilo.cart.auto_destroy and I would like to add it to my fork for this demo but I'm not sure how to add it.

Could you point me to the right direction?

Add a new file config/vanilo.php with content:

<?php

return [
    "cart" => [
         "auto_destroy" => true
    ]
];

Thanks for the catch! I'll add the file to this repo so that it's more straightforward.

No, there isn't.