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:
@@ -28,7 +28,7 @@ export default async function ProductLayout({
|
||||
let cart;
|
||||
|
||||
if (cartId) {
|
||||
cart = await getCart(cartId);
|
||||
cart = await getCart({ cartId, language: locale?.toUpperCase() });
|
||||
}
|
||||
|
||||
return (
|
||||
|
@@ -30,8 +30,6 @@ export async function generateMetadata({
|
||||
language: params?.locale?.toUpperCase()
|
||||
});
|
||||
|
||||
console.debug({ product });
|
||||
|
||||
if (!product) return notFound();
|
||||
|
||||
const { url, width, height, altText: alt } = product.featuredImage || {};
|
||||
|
Reference in New Issue
Block a user