vanilophp / cart

Cart Module for Vanilo (or any Laravel app)
https://vanilo.io
MIT License
50 stars 17 forks source link

Cart not remember when preserve_for_user + merge_duplicates is used #14

Closed preliot closed 4 years ago

preliot commented 4 years ago

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 commented 4 years ago

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