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