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

Adding to cart shows 1 then 0 then 1 #23

Open
machour opened this issue Aug 12, 2022 · 4 comments
Open

Adding to cart shows 1 then 0 then 1 #23

machour opened this issue Aug 12, 2022 · 4 comments

Comments

@machour
Copy link

machour commented Aug 12, 2022

  • Go to https://merch.deno.com/products/sticker-sheet on desktop
  • Make sure your cart is empty
  • Click "Add to cart"
  • Notice how the cart in the header now shows 1
  • Click "Add to cart" again to add a second item
  • Notice how the cart showed 1 then 0 then 1

I expect it not to show 0 when there's already an item in the cart

@midnightcodr
Copy link

This is seriously a show stopper. Was thinking about using fresh for my next project and then I saw this showcase website.

@machour
Copy link
Author

machour commented Sep 8, 2022

@midnightcodr this sounds a bit dramatic. This is a demo site and it has a little problem. You can fix it on your own website :)

@kt3k
Copy link
Member

kt3k commented May 1, 2023

#38

@kt3k kt3k reopened this May 1, 2023
@TheYuriG
Copy link

The same problem if you switch pages, it resets to 0 and then displays whatever number is meant to show.

Should I make a PR to fix this?

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

4 participants