remove admin_locale

This commit is contained in:
merdan 2022-04-14 16:25:55 +05:00
parent 4c6ad34881
commit 44cca61481
1 changed files with 5 additions and 1 deletions

View File

@ -341,9 +341,13 @@ class ProductRepository extends WProductRepository
}
if($data['vendor'] && $seller = $this->vendorRepository->findOneByField('url',$data['vendor'])){
Log::info('vendor : '.$data['vendor']);
$this->createSellerProduct($parentProduct, $seller->id);
}else{
Log::info('no_create_Seller: '.$data['vendor']);
}
if ($product['type'] == 'configurable') {
$variant = null;
@ -659,7 +663,7 @@ class ProductRepository extends WProductRepository
'is_owner' => 1,
'marketplace_seller_id' => $seller_id,
'is_approved' => 1,
'condition' => 'new',
'condition' => 'new',
]);
}