Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cart not remember when preserve_for_user + merge_duplicates is used #14

Closed
preliot opened this issue Jan 6, 2020 · 1 comment
Closed

Comments

@preliot
Copy link

preliot commented Jan 6, 2020

My cart keeps disappearing when i use both settings in the vanilo.php config file. When i remove one of the setting (and use php artisan cache:clear) the cart is remembered. For example i've removed merge_duplicated and i can see the cart in the database table.

I am using version 1.1.1 of vanilo.

I'm using a config file with this content:

<?php
return [
    'cart' => [

        /*
         * @see https://github.com/vanilophp/cart#preserve-the-cart-for-users-across-logins
         */
        'preserve_for_user' => true,
        'merge_duplicates' => true,
    ]
];
@preliot
Copy link
Author

preliot commented Feb 20, 2020

Moved away from Vanilo, so no longer an issue for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants