From 7babd0401f736e842fe1aa667bf29663e63a1240 Mon Sep 17 00:00:00 2001 From: Marco Date: Sat, 29 Aug 2026 23:59:11 +0000 Subject: [PATCH] Cart: use the shared ProductBadge (was missing "Neu") MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CartContent.tsx had its own fourth independent discount-badge implementation, never updated for Products.badge — "Neu" showed on the PDP and shop grid but not here. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_013Eg6h91yngXmSnM51wxXM8 --- app/cart/components/CartContent.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/app/cart/components/CartContent.tsx b/app/cart/components/CartContent.tsx index f6d8c61..7323a75 100644 --- a/app/cart/components/CartContent.tsx +++ b/app/cart/components/CartContent.tsx @@ -15,6 +15,7 @@ import { VersandModal } from "../../components/VersandModal"; import { VatBreakdown } from "../../components/VatBreakdown"; import { ArrowLeftIcon } from "../../components/ArrowLeftIcon"; import { ProductName } from "../../components/ProductName"; +import { ProductBadge } from "../../components/ProductBadge"; import { FreeShippingBanner } from "./FreeShippingBanner"; import type { TrustBadge, ShippingSettings } from "../../lib/payload"; @@ -248,11 +249,9 @@ export function CartContent({ className="object-cover" /> )} - {discount !== null && ( - - -{discount}% - - )} +
+ +
{product.href ? (