<file path="catalog/controller/product/product.php">
<operation>
<search><![CDATA[$data['price'] = $this->currency->format($this->tax->calculate($product_info['price'], $product_info['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency']);]]></search>
<add position="Replace|Before|After" offset="3"><![CDATA[
//<!--MyCitiesPlagin-->
$data['price'] = $this->currency->format($this->tax->calculate($product_info['price'], $product_info['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency']);
} else {
if(!isset($this->request->cookie['show_unauth_prod'])){
$show_count = 1;
setcookie("show_unauth_prod", $show_count+1, 0, '/');
$data['price'] = $this->currency->format($this->tax->calculate($product_info['price'], $product_info['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency']);
}elseif($this->request->cookie['show_unauth_prod'] <= 3){
$show_count = $this->request->cookie['show_unauth_prod'];
setcookie("show_unauth_prod", $show_count+1, 0, '/');
$data['price'] = $this->currency->format($this->tax->calculate($product_info['price'], $product_info['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency']);
}else $data['price'] = false;
}
//<!--/MyCitiesPlagin-->
]]></add>
</operation>
</file>