diff --git a/app/cart/components/RelatedProducts.tsx b/app/cart/components/RelatedProducts.tsx index 517fbaf..39d72cb 100644 --- a/app/cart/components/RelatedProducts.tsx +++ b/app/cart/components/RelatedProducts.tsx @@ -177,12 +177,19 @@ export function RelatedProducts({ defaultTaxRate, kleinunternehmer }: { defaultT )}
-

- {product.name} -

+
+ {/* Same eyebrow treatment as ProductGrid.tsx/Blog.tsx's + category line — omitted for an uncategorized product. */} + {product.categories.length > 0 && ( +

{product.categories.join(", ")}

+ )} +

+ {product.name} +

+

{discount !== null && ( {formatPrice(product.compareAtPrice!)} diff --git a/app/konto/merkliste/components/MerklisteGrid.tsx b/app/konto/merkliste/components/MerklisteGrid.tsx index 2df9a14..15f3003 100644 --- a/app/konto/merkliste/components/MerklisteGrid.tsx +++ b/app/konto/merkliste/components/MerklisteGrid.tsx @@ -76,9 +76,16 @@ export function MerklisteGrid({

-

- {product.name} -

+
+ {/* Same eyebrow treatment as ProductGrid.tsx/Blog.tsx's + category line — omitted for an uncategorized product. */} + {product.categories.length > 0 && ( +

{product.categories.join(", ")}

+ )} +

+ {product.name} +

+

{discount !== null && ( diff --git a/app/shop/components/ProductGrid.tsx b/app/shop/components/ProductGrid.tsx index 1aef969..cd71d78 100644 --- a/app/shop/components/ProductGrid.tsx +++ b/app/shop/components/ProductGrid.tsx @@ -166,12 +166,20 @@ export async function ProductGrid({ )}

-

- {product.name} -

+
+ {/* Same eyebrow treatment as the blog cards' category line + (Blog.tsx) — omitted entirely for an uncategorized + product rather than showing an empty line. */} + {product.categories.length > 0 && ( +

{product.categories.join(", ")}

+ )} +

+ {product.name} +

+

{discount !== null && (