diff --git a/packages/magento-cart-items/components/SelectedCustomizableOptions/SelectedCustomizableOptions.tsx b/packages/magento-cart-items/components/SelectedCustomizableOptions/SelectedCustomizableOptions.tsx index 7a3c17bff4..964308ceed 100644 --- a/packages/magento-cart-items/components/SelectedCustomizableOptions/SelectedCustomizableOptions.tsx +++ b/packages/magento-cart-items/components/SelectedCustomizableOptions/SelectedCustomizableOptions.tsx @@ -6,12 +6,14 @@ import { SelectedCustomizableOptionFragment } from './SelectedCustomizableOption type SelectedCustomizableOptionProps = CartItemFragment & { customizable_options?: (SelectedCustomizableOptionFragment | null | undefined)[] | null + configurable_customizable?: (SelectedCustomizableOptionFragment | null | undefined)[] | null } export function SelectedCustomizableOptions(props: SelectedCustomizableOptionProps) { - const { customizable_options, product } = props - - const options = filterNonNullableKeys(customizable_options, []) + const { customizable_options, product, configurable_customizable } = props + const options = customizable_options + ? filterNonNullableKeys(customizable_options, []) + : filterNonNullableKeys(configurable_customizable, []) if (!options.length) return null diff --git a/packages/magento-product-configurable/plugins/ConfigurableCartItemActionCard.tsx b/packages/magento-product-configurable/plugins/ConfigurableCartItemActionCard.tsx index dd7cb4badc..56914ceaa2 100644 --- a/packages/magento-product-configurable/plugins/ConfigurableCartItemActionCard.tsx +++ b/packages/magento-product-configurable/plugins/ConfigurableCartItemActionCard.tsx @@ -33,10 +33,7 @@ export function ConfigurableCartItemActionCard( details={ <> {rest.details} - + } />