order to manat
This commit is contained in:
parent
ec6b260acd
commit
7ecb02f0fd
|
|
@ -216,7 +216,7 @@ class IntegrationController extends Controller
|
|||
|
||||
private function updateAttribute($product,$data){
|
||||
|
||||
if(isset($data['sellable']) && !$data['sellable']){
|
||||
if(isset($data['sellable']) && $data['sellable']===false){
|
||||
Log::info($data);
|
||||
//$attribute = $this->attributeRepository->findOneByField('code', 'status'); status id = 8
|
||||
$this->attributeValueRepository->updateOrCreate(['product_id'=>$product->id,'attribute_id'=>8],['boolean_value'=>0]);
|
||||
|
|
|
|||
Loading…
Reference in New Issue