Skip to content

Commit

Permalink
fix: Fix product module creation example
Browse files Browse the repository at this point in the history
  • Loading branch information
sradevski authored Nov 22, 2024
1 parent b558800 commit f258083
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions www/apps/resources/app/commerce-modules/product/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
},
],
},
Expand Down

0 comments on commit f258083

Please sign in to comment.