diff --git a/app/(landing)/[ContentLandingPage]/page.tsx b/app/(landing)/[ContentLandingPage]/page.tsx index 9a0ccdf4a..608258520 100644 --- a/app/(landing)/[ContentLandingPage]/page.tsx +++ b/app/(landing)/[ContentLandingPage]/page.tsx @@ -1,3 +1,5 @@ +import Cart from 'components/cart'; +import OpenCart from 'components/cart/open-cart'; import { GridTileImage } from 'components/grid/tile'; import { Gallery } from 'components/product/gallery'; import { ProductDescription } from 'components/product/product-description'; @@ -35,10 +37,10 @@ const lookupContentLandingPage = async (contentLandingPageId: string) => { companyName: 'Vercel' }, store: { - domain: 'https://test-app-furie.myshopify.com', - key: '30f0c9b2ee5c69d6c0de2e7a048eb6b4' + domain: 'https://quickstart-ba952e54.myshopify.com', + key: '8efbd119747c632000b04ed68313abf1' }, - productId: 'gid://shopify/Product/8587440849132' + productId: 'gid://shopify/Product/7913032548543' } }; @@ -84,6 +86,18 @@ export default async function Page({ params }: { params: { ContentLandingPage: s __html: JSON.stringify(productJsonLd) }} /> +
diff --git a/components/cart/index.tsx b/components/cart/index.tsx index 42b4a14df..3facb9746 100644 --- a/components/cart/index.tsx +++ b/components/cart/index.tsx @@ -3,7 +3,7 @@ import { Store } from 'lib/shopify/types'; import { cookies } from 'next/headers'; import CartModal from './modal'; -export default async function Cart(store: Store) { +export default async function Cart({ store }: { store: Store }) { const cartId = cookies().get('cartId')?.value; let cart;