From f5076b8debdb6b957a2e253b6f5dfccea4fe8945 Mon Sep 17 00:00:00 2001 From: lLefevre Date: Tue, 17 Jul 2012 09:23:25 +0000 Subject: [PATCH] [-] BO : fix #PSCFV-3200 --- controllers/admin/AdminProductsController.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/controllers/admin/AdminProductsController.php b/controllers/admin/AdminProductsController.php index a71dee91a..cc94921bd 100644 --- a/controllers/admin/AdminProductsController.php +++ b/controllers/admin/AdminProductsController.php @@ -2218,7 +2218,10 @@ 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.')); + return; + } // Product for multishop $this->context->smarty->assign('bullet_common_field', '');