diff --git a/core/vibes/soul/sections/product-detail/index.tsx b/core/vibes/soul/sections/product-detail/index.tsx index feaf6297f8..8fafac7352 100644 --- a/core/vibes/soul/sections/product-detail/index.tsx +++ b/core/vibes/soul/sections/product-detail/index.tsx @@ -1,6 +1,7 @@ import { Price, PriceLabel } from '@/vibes/soul/primitives/price-label'; import { Rating } from '@/vibes/soul/primitives/rating'; import { ProductGallery } from '@/vibes/soul/sections/product-detail/product-gallery'; +import { useTranslations } from 'next-intl'; import { ProductDetailForm, ProductDetailFormAction } from './product-detail-form'; import { Field } from './schema'; @@ -24,6 +25,8 @@ type Props = { }; export function ProductDetail({ product, action, fields }: Props) { + const t = useTranslations('Components.AddToCartButton'); + return (
@@ -53,7 +56,12 @@ export function ProductDetail({ product, action, fields }: Prop

{product.description}

)} - +