From 9d5642049618ea9fa9c7b83c0a393679a377e2f9 Mon Sep 17 00:00:00 2001 From: Marcus Date: Wed, 4 Sep 2024 13:03:40 -0300 Subject: [PATCH] 11108 - fix: corrigido nome do vendedor --- components/product/ProductDetails.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/components/product/ProductDetails.tsx b/components/product/ProductDetails.tsx index a3a1d25..6f659bf 100644 --- a/components/product/ProductDetails.tsx +++ b/components/product/ProductDetails.tsx @@ -84,6 +84,7 @@ function ProductInfo( isVariantOf, isSimilarTo, url, + } = product; const { price = 0, listPrice, seller, availability, installment } = useOffer( offers, @@ -91,6 +92,10 @@ function ProductInfo( const forPrice = product.offers?.offers[0].priceSpecification[1].price const discount = listPrice && listPrice > price; + const vendorName = product.offers?.offers[0].sellerName + + + console.log(vendorName) return ( <> @@ -110,10 +115,10 @@ function ProductInfo( )}
- Vendido e entregue por: + Vendido e entregue por: - LojasTopMoveis + {vendorName}