Skip to content

My Store page (seller dashboard) #12

Description

@Filipejqueiroga

A dashboard exclusive to users with the SELLER role. Allows sellers to create and manage their store and products. Users without the correct role are redirected to the home page.

Expected flow

  1. Seller navigates to /my-store.html
  2. If they have no store: display the store creation form
  3. If they have a store: display the store info and product list with actions

Acceptance criteria

  • Redirects to index.html if the user is not logged in
  • Redirects to index.html if the user is a BUYER
  • A seller without a store sees a form to create one (name and description)
  • A seller with a store sees their store name and product list
  • "New product" button opens a form with: name, description, price, image URL
  • Each product in the list has edit and delete buttons
  • Visual feedback (toast notification) for success and error on every operation

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions