diff --git a/.changeset/shy-gifts-trade.md b/.changeset/shy-gifts-trade.md new file mode 100644 index 0000000000..3a67fecd38 --- /dev/null +++ b/.changeset/shy-gifts-trade.md @@ -0,0 +1,5 @@ +--- +'@graphcommerce/magento-product-configurable': patch +--- + +Display the details of configurable products in the cart. diff --git a/packages/magento-product-configurable/ConfigurableCartItem/ConfigurableCartItem.graphql b/packages/magento-product-configurable/ConfigurableCartItem/ConfigurableCartItem.graphql index 0f543bd4ab..da4f3d59e4 100644 --- a/packages/magento-product-configurable/ConfigurableCartItem/ConfigurableCartItem.graphql +++ b/packages/magento-product-configurable/ConfigurableCartItem/ConfigurableCartItem.graphql @@ -10,7 +10,10 @@ fragment ConfigurableCartItem on ConfigurableCartItem @inject(into: ["CartItem"] } configured_variant { uid + ...ProductLink + sku name + sku thumbnail { ...ProductImage } diff --git a/packages/magento-product-configurable/plugins/ConfigurableCartItemActionCard.tsx b/packages/magento-product-configurable/plugins/ConfigurableCartItemActionCard.tsx index 858f7ac3be..dd7cb4badc 100644 --- a/packages/magento-product-configurable/plugins/ConfigurableCartItemActionCard.tsx +++ b/packages/magento-product-configurable/plugins/ConfigurableCartItemActionCard.tsx @@ -17,6 +17,19 @@ export function ConfigurableCartItemActionCard( return ( {rest.details}