From 6e447da33ce37c7f5665d62c00eb1d4dce0483d7 Mon Sep 17 00:00:00 2001 From: Stevche Radevski Date: Mon, 25 Nov 2024 16:23:54 +0100 Subject: [PATCH] fix: Fix product module creation example (#10228) --- www/apps/resources/app/commerce-modules/product/page.mdx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/www/apps/resources/app/commerce-modules/product/page.mdx b/www/apps/resources/app/commerce-modules/product/page.mdx index 0336b23f5d321..a88aa71780e0a 100644 --- a/www/apps/resources/app/commerce-modules/product/page.mdx +++ b/www/apps/resources/app/commerce-modules/product/page.mdx @@ -82,16 +82,15 @@ const products = await productService.createProducts([ options: [ { title: "Color", + values: ["Black", "White"], }, ], variants: [ { title: "Black Shirt", - options: [ - { - value: "Black", - }, - ], + options: { + Color: "Black", + }, }, ], },