Skip to content

Commit

Permalink
Revert "Remove SKU from product creation array."
Browse files Browse the repository at this point in the history
This reverts commit 0438691.
  • Loading branch information
dualklip committed Nov 11, 2024
1 parent 74bd3db commit daacf04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/core/reference/products.md
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,7 @@ Lunar\Models\Product::create([
'product_type_id' => $productType->id,
'status' => 'published',
'brand_id' => $brandId,
'sku' => 'DRBOOT',
'attribute_data' => [
'name' => new TranslatedText(collect([
'en' => new Text('1460 PATENT LEATHER BOOTS'),
Expand Down

0 comments on commit daacf04

Please sign in to comment.