2017-12-19 39 views

답변

0

안녕하세요 @Ivan가에

if ($this->customer->isLogged() || !$this->config->get('config_customer_price')) { 

    $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; 
    } 

변경 그것을 위해 당신의 public function index() 검색 카탈로그/컨트롤러/product.php과 갈 : 모듈

if ($this->customer->isLogged() || !$this->config->get('config_customer_price')) { 
    $data['price'] = $this->currency->format($product_info['price'], $this->session->data['currency']); 

}else { 
$data['price'] = false; 
}