scrap fix
This commit is contained in:
parent
3be851946f
commit
ece2b58d60
|
|
@ -14,7 +14,7 @@ return [
|
|||
|
|
||||
*/
|
||||
|
||||
'enabled' => env('DEBUGBAR_ENABLED', null),
|
||||
'enabled' => env('DEBUGBAR_ENABLED', false),
|
||||
'except' => [
|
||||
'telescope*',
|
||||
'horizon*',
|
||||
|
|
|
|||
|
|
@ -292,6 +292,7 @@ class ProductRepository extends WProductRepository
|
|||
$parentProduct = $this->getModel()->create($product);
|
||||
$this->assignAttributes($parentProduct, [
|
||||
'sku' => $parentProduct->sku,
|
||||
'price' => Arr::get($data, 'price.discountedPrice.value'),$data['price'],
|
||||
'name' => $data['name'],
|
||||
'weight' => 0,
|
||||
'status' => 1,
|
||||
|
|
|
|||
Loading…
Reference in New Issue