diff --git a/app/[locale]/bar/sagyobar-detail.tsx b/app/[locale]/bar/sagyobar-detail.tsx index 784d8f1a7..83fde8e60 100644 --- a/app/[locale]/bar/sagyobar-detail.tsx +++ b/app/[locale]/bar/sagyobar-detail.tsx @@ -26,7 +26,7 @@ export default function SagyobarDetail() {
diff --git a/app/[locale]/product/[handle]/page.tsx b/app/[locale]/product/[handle]/page.tsx index 760ecd6c7..b137230a5 100644 --- a/app/[locale]/product/[handle]/page.tsx +++ b/app/[locale]/product/[handle]/page.tsx @@ -151,9 +151,11 @@ export default async function ProductPage({
-
- -
+ {!!product?.notes && ( +
+ +
+ )} {!!product?.galleryIntro?.value && (
diff --git a/components/product/tasting-notes.tsx b/components/product/tasting-notes.tsx index cf476d3ed..9366acb99 100644 --- a/components/product/tasting-notes.tsx +++ b/components/product/tasting-notes.tsx @@ -8,7 +8,7 @@ export function ProductTastingNotes({ product }: { product: Product }) { const imageHeight = product?.notesImage?.reference?.image?.height; const imageAlt = product?.notesImage?.reference?.image?.altText; - if (!imageUrl && !imageWidth && !imageHeight) { + if (!product?.notes || !imageUrl || !imageWidth || !imageHeight) { return null; }