Skip to content

Commit

Permalink
fix: Fix product module creation example (medusajs#10228)
Browse files Browse the repository at this point in the history
  • Loading branch information
sradevski authored Nov 25, 2024
1 parent 5022a7c commit 6e447da
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 6e447da

Please sign in to comment.