From 3f4cd60e1112dfebce5343ba6232656ed24a210d Mon Sep 17 00:00:00 2001 From: Ludovic Levalleux Date: Wed, 18 Feb 2026 14:52:24 +0000 Subject: [PATCH] feat: update default selected offer tab for bundles to use "overview" instead of "physical product data" --- src/pages/common/OfferFullDescription.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/pages/common/OfferFullDescription.tsx b/src/pages/common/OfferFullDescription.tsx index f58581813..2eeb35d65 100644 --- a/src/pages/common/OfferFullDescription.tsx +++ b/src/pages/common/OfferFullDescription.tsx @@ -1,6 +1,7 @@ import { ExternalOfferFullDescription, - ExternalOfferFullDescriptionProps + ExternalOfferFullDescriptionProps, + isBundle } from "@bosonprotocol/react-kit"; import { useConfigContext } from "components/config/ConfigContext"; import { MODAL_TYPES } from "components/modal/ModalComponents"; @@ -56,7 +57,11 @@ export const OfferFullDescription: React.FC = ( includeOverviewTab imagesToShow={3} includeGeneralProductDataTab={false} - defaultSelectedOfferTabsIdTab="physical-product-data" + defaultSelectedOfferTabsIdTab={ + props.offer && isBundle(props.offer) + ? "overview" + : "physical-product-data" + } // LLX: if bundle, use "overview" instead withFullViewportWidth={true} onExchangePolicyClick={({ exchangePolicyCheckResult }) => showModal(MODAL_TYPES.EXCHANGE_POLICY_DETAILS, {