I example products
This commit is contained in:
parent
051a8bf95d
commit
ac8953dd90
|
|
@ -129,6 +129,7 @@ class ShopAddExampleProducts extends Command
|
|||
|
||||
$product = Product::create([
|
||||
'slug' => $slug,
|
||||
'name' => $productName,
|
||||
'sku' => 'EX-' . strtoupper($this->faker->bothify('??-####')),
|
||||
'type' => $type,
|
||||
'status' => $this->faker->randomElement(['published', 'published', 'published', 'draft']),
|
||||
|
|
|
|||
Loading…
Reference in New Issue