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

Issues using the back button #679

Open
david-lavely-avante opened this issue Jun 2, 2023 · 1 comment
Open

Issues using the back button #679

david-lavely-avante opened this issue Jun 2, 2023 · 1 comment

Comments

@david-lavely-avante
Copy link

After adding an item to the cart, when the back button is used the visible quantity in the cart reverts to zero. I have tried manipulating it with browser cache or a middle ware. Are there any suggestions on how to keep my quantity consistent.

@Kepsondiaz
Copy link

Hello,
you can try to use this notation :
Cart::add(['id' => '293ad', 'name' => 'Product 1', 'qty' => 1, 'price' => 9.99, 'options' => ['size' => 'large']]);
or to try to use intance

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