Вот же, последняя страница /catalog/controller/product/compare.php
 
	не могу попотому чтороть, не передает upc
 
	тут вложенный array, как его можно передать? Просто значение передается и если сивить условие
 
	 
 
	  if ($product['upc'] != '1' && $customer_group_id != '2')  {  //т.е. не равно 1, то все этоны товаров в сравнении убирают этону
 
	 
 
	$data['products'][$product_id] = array( 
	                    'upc      ' => $result['upc'], 
	                    'product_id'   => $product_info['product_id'], 
	                    'name'         => $product_info['name'], 
	                    'thumb'        => $image, 
	                    'price'        => $price, 
	                    'special'      => $special, 
	                    'description'  => utf8_substr(strip_tags(html_entity_decode($product_info['description'], ENT_QUOTES, 'UTF-8')), 0, 200) . '..', 
	                    'model'        => $product_info['model'], 
	                    'manufacturer' => $product_info['manufacturer'], 
	                    'availability' => $availability, 
	                    'minimum'      => $product_info['minimum'] > 0 ? $product_info['minimum'] : 1, 
	                    'rating'       => (int)$product_info['rating'], 
	                    'reviews'      => sprintf($this->language->get('text_reviews'), (int)$product_info['reviews']), 
	                    'weight'       => $this->weight->format($product_info['weight'], $product_info['weight_class_id']), 
	                    'length'       => $this->length->format($product_info['length'], $product_info['length_class_id']), 
	                    'width'        => $this->length->format($product_info['width'], $product_info['length_class_id']), 
	                    'height'       => $this->length->format($product_info['height'], $product_info['length_class_id']), 
	                    'attribute'    => $attribute_data, 
	                    'href'         => $this->url->link('product/product', 'product_id=' . $product_id), 
	                    'remove'       => $this->url->link('product/compare', 'remove=' . $product_id) 
	                );
 
	 
 
	 
 
	 
 
	пропотому чтовал передавать $data['upc'] = $product_info['upc']; ничего не полулилось(
 
	 
 
	 
 
	 
 
	/template/product/compare.tpl
	 
 
	  <?php  
	            //todo группы покупаетелей 
	             if ($product['upc'] == '1' && $customer_group_id != '2')  { 
	     
	    ?><div class="wge32df"><?php echo $link_reg_cat; ?></div> 
	    <?php 
	}else{ ?> 
	      
	                 
	                 
	                 
	                код вывода этоны 
	               
	               
	               
	               <?php 
	                       //todo группы покупателей 
	                       }?>