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' => [
|
'except' => [
|
||||||
'telescope*',
|
'telescope*',
|
||||||
'horizon*',
|
'horizon*',
|
||||||
|
|
|
||||||
|
|
@ -292,6 +292,7 @@ class ProductRepository extends WProductRepository
|
||||||
$parentProduct = $this->getModel()->create($product);
|
$parentProduct = $this->getModel()->create($product);
|
||||||
$this->assignAttributes($parentProduct, [
|
$this->assignAttributes($parentProduct, [
|
||||||
'sku' => $parentProduct->sku,
|
'sku' => $parentProduct->sku,
|
||||||
|
'price' => Arr::get($data, 'price.discountedPrice.value'),$data['price'],
|
||||||
'name' => $data['name'],
|
'name' => $data['name'],
|
||||||
'weight' => 0,
|
'weight' => 0,
|
||||||
'status' => 1,
|
'status' => 1,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue