diff --git a/module/design/model.php b/module/design/model.php index 2f72db44b1..811cc87f4d 100644 --- a/module/design/model.php +++ b/module/design/model.php @@ -425,9 +425,12 @@ class designModel extends model if($this->app->rawMethod == 'browse') $this->lang->waterfall->menu->design['subMenu']->bysearch = array('link' => ' ' . $this->lang->searchAB . ''); if(empty($products) || !$productID) return ''; - $currentProduct = $this->loadModel('product')->getById($productID); + setCookie("lastProduct", $productID, $this->config->cookieLife, $this->config->webRoot, '', false, true); + $currentProduct = $this->loadModel('product')->getById($productID); + if(!empty($currentProduct->shadow)) return ''; + $output = ''; if(!empty($products)) {