area1707/grace-shopper

Admin - PM - Manage the availability of a product

Opened this issue · 0 comments

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.