Vagabonds-Labs / cofiblocks

Welcome to Cofiblocks marketplace: A Starknet web3 platform to innovate Costa Rica coffee industry. Cofiblocks connects small coffee farmers directly with coffee lovers, cutting out unnecessary intermediaries.
https://www.cofiblocks.com/
10 stars 20 forks source link

Implement Product Details UI Components #32

Closed brolag closed 1 week ago

brolag commented 1 month ago

Task: Product Detail View Implementation

Description:

Create a product detail view with three variations:

  1. Buyer View:

    • Display options for selecting coffee type (Bean or Grounded).
    • Quantity input field for selecting the number of bags.
    • Show the "Add to cart" button.
    • Display product status, including roast level, bags available, and unit price.
  2. Farmer View:

    • Remove cart functionality.
    • Display an "Edit my farm" button instead of "Add to cart".
    • Show roast level, bags available, and unit price, but provide the option to edit farm details.
  3. Sold Out View:

    • Remove the cart and quantity input.
    • Display "Sold out" in both the product availability section and in the unit price section.

Acceptance Criteria:

evgongora commented 1 month ago

Hello @brolag!

I would like to work on this :)

brolag commented 1 month ago

Go ahead @evgongora !