mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
wip: Saving work
This commit is contained in:
@@ -9,6 +9,7 @@ import Label from 'components/label';
|
||||
import { SupportedLocale } from 'components/layout/navbar/language-control';
|
||||
import Price from 'components/price';
|
||||
import { ProductDescription } from 'components/product/product-description';
|
||||
import { ProductTastingNotes } from 'components/product/tasting-notes';
|
||||
import { VariantSelector } from 'components/product/variant-selector';
|
||||
import { HIDDEN_PRODUCT_TAG } from 'lib/constants';
|
||||
import { getProduct, getProductRecommendations } from 'lib/shopify';
|
||||
@@ -72,6 +73,7 @@ export default async function ProductPage({
|
||||
handle: params.handle,
|
||||
language: params?.locale?.toUpperCase()
|
||||
});
|
||||
|
||||
let otherImages: MediaImage[] = [];
|
||||
if (!!product) {
|
||||
otherImages = product.images
|
||||
@@ -151,6 +153,10 @@ export default async function ProductPage({
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<ProductTastingNotes product={product} />
|
||||
</div>
|
||||
|
||||
<div className="grid grid-cols-1 gap-4 md:grid-cols-2">
|
||||
{!!otherImages &&
|
||||
otherImages?.length > 0 &&
|
||||
|
Reference in New Issue
Block a user