From da2b8ca938db2b3ba7cdb9ce1df7e0d98a8d8680 Mon Sep 17 00:00:00 2001 From: karthikalakshmi Date: Thu, 26 Feb 2026 12:29:34 +0530 Subject: [PATCH] Item card Price display issue --- .../BookingScreen/Components/BSItemCards/BSItemCard.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Pages/BookingScreen/Components/BSItemCards/BSItemCard.jsx b/src/Pages/BookingScreen/Components/BSItemCards/BSItemCard.jsx index 335e947..4a99e32 100644 --- a/src/Pages/BookingScreen/Components/BSItemCards/BSItemCard.jsx +++ b/src/Pages/BookingScreen/Components/BSItemCards/BSItemCard.jsx @@ -5182,7 +5182,7 @@ const BSItemCard = (props) => { if (preferenceSingleSales && item.OnePcsAvailable === 'Y') { return ( item?.ProductDetail?.[0]?.ProdVariantDetails?.[0]?.StockDetails?.[0] - ?.OnePcsPrice || null + ?.OnePcsPrice || 0 ); // OnePcsPrice } @@ -5200,7 +5200,7 @@ const BSItemCard = (props) => { return firstVariantDetails; } else { // Handle the case where no variant satisfies the condition - return null; // or any other value you want to return + return 0; // or any other value you want to return } }; const ItemMRP = (item) => { @@ -5209,7 +5209,7 @@ const BSItemCard = (props) => { if (preferenceSingleSales && item.OnePcsAvailable === 'Y') { return ( item?.ProductDetail?.[0]?.ProdVariantDetails?.[0]?.StockDetails?.[0] - ?.OnePcsPrice || null + ?.OnePcsPrice || 0 ); // OnePcsPrice } @@ -5227,7 +5227,7 @@ const BSItemCard = (props) => { return firstVariantDetails; } else { // Handle the case where no variant satisfies the condition - return null; // or any other value you want to return + return 0; // or any other value you want to return } }; const ItemSize = (item) => {