We have a requirement to show nested breadcrumbs for product category pages. In the standard Spartacus template we have observed that the breadcrumb data is populated by the Search API.
How would we best approach adding a nested hierarchy of breadcrumbs by extending the standard API and/or Spartacus?
The breadcrumbs on the product listing page are data-driven, specifically by the active facets from the search data. There are various approaches to influence the data or resolve additional breadcrumbs:
ProductSearchPage.breadcrumbs
model. CategoryPageMetaResolver.resolveBreadcrumbs
and resolve additional breadcrumbs.