vanilophp / demo

Vanilo Demo Application
https://vanilo.io/docs/
190 stars 54 forks source link

how to add config for cart? #5

Closed chepe263 closed 6 years ago

chepe263 commented 6 years ago

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?

fulopattila122 commented 6 years ago

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.

chepe263 commented 6 years ago

Is there a vendor:publish for this?

On Wed, Sep 5, 2018, 3:41 AM Attila Fulop notifications@github.com wrote:

Closed #5 https://github.com/vanilophp/demo/issues/5.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vanilophp/demo/issues/5#event-1827359934, or mute the thread https://github.com/notifications/unsubscribe-auth/ACWcexoQ88U_-3jkz9oSNbhh3Zy_0Qo4ks5uX5xagaJpZM4WaPvA .

fulopattila122 commented 6 years ago

No, there isn't.