diff --git a/apps/website/src/components/AddToCartSection.tsx b/apps/website/src/components/AddToCartSection.tsx index 4baf170..bc84f4e 100644 --- a/apps/website/src/components/AddToCartSection.tsx +++ b/apps/website/src/components/AddToCartSection.tsx @@ -48,6 +48,7 @@ interface Props { product: Product showBrandMeta?: boolean showMobileStickyBar?: boolean + showTrustBadges?: boolean } const UI_TRANSLATIONS: Record(() => { if (product.variants && product.variants.length > 0) { const first = product.variants[0]; @@ -546,20 +552,22 @@ export default function AddToCartSection({ product, showBrandMeta = true, showMo {/* Trust Badges 4 Grid */} -
- {t.badges.map((badge, idx) => { - const Icon = idx === 0 ? Truck : idx === 1 ? ShieldCheck : idx === 2 ? RotateCcw : MessageCircle; - return ( -
- -
- {badge.title} - {badge.desc} + {showTrustBadges && ( +
+ {t.badges.map((badge, idx) => { + const Icon = idx === 0 ? Truck : idx === 1 ? ShieldCheck : idx === 2 ? RotateCcw : MessageCircle; + return ( +
+ +
+ {badge.title} + {badge.desc} +
-
- ); - })} -
+ ); + })} +
+ )}