From f2580831a54534acb7c70b2e22ac804e7727bde2 Mon Sep 17 00:00:00 2001 From: Stevche Radevski Date: Fri, 22 Nov 2024 14:12:16 +0100 Subject: [PATCH] fix: Fix product module creation example --- 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", + }, }, ], },