waheebh1 / online-bookstore

0 stars 4 forks source link

Implemented checkout and logout methods, as well as access denied functionality #51

Closed waheebhashmi closed 11 months ago

maishabd23 commented 11 months ago

When you checkout successfully, and go back to home page, you cannot add to cart again.

maishabd23 commented 11 months ago

When you go to checkout page, there should be a remove from cart option beside each item and also the item should not be printed in the cart information if the quantity is 0.

Also maybe add in a Return to Home button on the checkout page besides Order in case user wants to continue shopping instead of checking out.

thanujasiva commented 11 months ago

When you go to checkout page, there should be a remove from cart option beside each item and also the item should not be printed in the cart information if the quantity is 0.

Also maybe add in a Return to Home button on the checkout page besides Order in case user wants to continue shopping instead of checking out.

"the item should not be printed in the cart information if the quantity is 0" - This is not a bug in checkout. This is actually a bug in removeFromCart, I'm working on a fix for this.

shrimeichock commented 11 months ago

it allows you to add 2 items at the same items at the same but you cannot remove 2 at the same time