Who: As a developer
What: I want to be able to add item in shopping cart, but if there is no unit left then add to cart button shall not allow the item to be added to shopping cart. ( probably disable the addToCart button)
Why: so that I can only add item that available on website
Acceptance criteria
npm run dev
we shall not be able to add item to shopping cart, if unit left is 0.
User story
Who: As a developer What: I want to be able to add item in shopping cart, but if there is no unit left then add to cart button shall not allow the item to be added to shopping cart. ( probably disable the addToCart button) Why: so that I can only add item that available on website
Acceptance criteria
npm run dev we shall not be able to add item to shopping cart, if unit left is 0.
Implementation details