order to manat

This commit is contained in:
merdan 2022-06-28 13:44:40 +05:00
parent 4b69f8cc4b
commit cda1d89d75
1 changed files with 2 additions and 0 deletions

View File

@ -214,7 +214,9 @@ class IntegrationController extends Controller
}
private function updateAttribute($product,$data){
if(isset($data['is_sellable']) && !$data['is_sellable']){
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]);