diff --git a/controllers/admin/AdminProductsController.php b/controllers/admin/AdminProductsController.php index c9bd55954..542a73ed6 100644 --- a/controllers/admin/AdminProductsController.php +++ b/controllers/admin/AdminProductsController.php @@ -2190,6 +2190,9 @@ class AdminProductsControllerCore extends AdminController $product = $this->object; + if ($this->display == 'edit' && Shop::isFeatureActive() && Shop::getContext() == Shop::CONTEXT_SHOP && !$product->isAssociatedToShop($this->context->shop->id)) + $this->displayWarning($this->l('Warning: this product does not exist in this shop. If you submit the form, this product will be available for this shop too.')); + // Product for multishop $this->context->smarty->assign('bullet_common_field', ''); if (Shop::isFeatureActive() && $this->display == 'edit')