Skip to content

Add Breadcrumb Navigation to Product Pages #1137

@marjan-ahmed

Description

@marjan-ahmed

Description

Currently, the product pages in the Saleor Storefront lack breadcrumb navigation, which is a common UX pattern in e-commerce websites. Adding a breadcrumb will help users understand the product hierarchy and easily navigate back to categories or home.

Proposed Solution

  • Add a Breadcrumb component above the product title on the product detail page.
  • Structure:
    • HomeCategoryProduct Name
    • If category information is not available, display only Home → Product Name.
  • The breadcrumb should be dynamic based on the channel, product category, and product name.
  • Styling should follow the existing theme of the storefront with hover effects on links and clear separators (/).

Example

<Breadcrumb
  channel={channel}
  categoryName={product.category?.name}
  categorySlug={product.category?.slug}
  productName={product.name}
/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions