area1707 / grace-shopper

3 stars 0 forks source link

Admin - PM - Manage the availability of a product #34

Open lean257 opened 7 years ago

lean257 commented 7 years ago

As an admin user, I can manage the availability of a product, so that users will know whether or not they can purchase that product Acceptance Criteria: If a product is no longer available, users will not see it while browsing, but they can view the product detail page if they've ordered it previously or have a direct link. On that product detail page, it should say "Currently Unavailable"

Implementation: Frontend: write an if stmt in react component to check if the single product count == 0, then hide the item on the page.