Fixed product mass update issue

This commit is contained in:
jitendra 2022-08-08 20:21:38 +05:30
parent efded99220
commit 078c7a760a
1 changed files with 1 additions and 1 deletions

View File

@ -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,