diff --git a/controllers/admin/AdminProductsController.php b/controllers/admin/AdminProductsController.php index fbb3c5246..c0c64bd5a 100644 --- a/controllers/admin/AdminProductsController.php +++ b/controllers/admin/AdminProductsController.php @@ -3475,10 +3475,10 @@ class AdminProductsControllerCore extends AdminController $shop_group = $this->context->shop->getGroup(); // if we are in all shops context, it's not possible to manage quantities at this level - if ($shop_context == Shop::CONTEXT_ALL) + if (Shop::isFeatureActive() && $shop_context == Shop::CONTEXT_ALL) $show_quantities = false; // if we are in group shop context - elseif ($shop_context == Shop::CONTEXT_GROUP) + elseif (Shop::isFeatureActive() && $shop_context == Shop::CONTEXT_GROUP) { // if quantities are not shared between shops of the group, it's not possible to manage them at group level if (!$shop_group->share_stock)