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

Can't add multiple of the same item to the cart #5

Open
Gqlactic opened this issue Dec 5, 2020 · 6 comments
Open

Can't add multiple of the same item to the cart #5

Gqlactic opened this issue Dec 5, 2020 · 6 comments
Labels
bug Something isn't working

Comments

@Gqlactic
Copy link

Gqlactic commented Dec 5, 2020

When you try to add multiple of the same item to the cart, the reaction doesn't get removed when you click on the shopping cart and nothing happens.

@Jaxenormus
Copy link
Owner

Could you provide a video of the issue as this will help pinpoint the error

@Gqlactic
Copy link
Author

Gqlactic commented Dec 6, 2020

Okay, I have done some experimenting and have found that creating a product and adding it to cart works fine, and you can add multiple of that same product. However, when the bot gets restarted this is when the issue occurs. After the restart, the bot will only allow you to add 1x of each product you can't add multiple. I will attach 2 files below demonstrating how it behaves before and after the restart.

Before Restart:

Before Restart

After Restart:

After Restart

Sorry for not clarifying earlier

@Jaxenormus
Copy link
Owner

Thank you. I'll take a look when I get a chance

@Gqlactic
Copy link
Author

Just a question, what version of discord js do you use for this bot, maybe it works fine on that version.

@ofcansh
Copy link

ofcansh commented Apr 13, 2021

@Gqlactic

How to complete order??

@Jaxenormus
Copy link
Owner

@Gqlactic

How to complete order??

I answered your question here

@Jaxenormus Jaxenormus added the bug Something isn't working label Apr 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants