Fixed product mass update issue
This commit is contained in:
parent
efded99220
commit
078c7a760a
|
|
@ -329,7 +329,7 @@ class ProductController extends Controller
|
|||
$productIds = explode(',', $data['indexes']);
|
||||
|
||||
foreach ($productIds as $productId) {
|
||||
Event::dispatch('catalog.product.update.before', $id);
|
||||
Event::dispatch('catalog.product.update.before', $productId);
|
||||
|
||||
$product = $this->productRepository->update([
|
||||
'channel' => null,
|
||||
|
|
|
|||
Loading…
Reference in New Issue