From 86d0ec631c33b34c4d5f616731b918ee7ef8985f Mon Sep 17 00:00:00 2001 From: jrphilo Date: Mon, 8 Jul 2024 09:21:56 +0200 Subject: [PATCH] feat: add sku to pdp details Signed-off-by: jrphilo --- components/product/vairant-details.tsx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/components/product/vairant-details.tsx b/components/product/vairant-details.tsx index 6afc8bfed..2824228e2 100644 --- a/components/product/vairant-details.tsx +++ b/components/product/vairant-details.tsx @@ -30,12 +30,19 @@ const VariantDetails = ({ variants, defaultPrice }: VariantDetailsProps) => {
{variant?.availableForSale ? (
- In Stock + In Stock
) : ( Out of Stock )} -

Condition: {variant?.condition || 'N/A'}

+ | +

+ SKU: {variant?.sku || 'N/A'} +

+ | +

+ Condition: {variant?.condition || 'N/A'} +

);