@iTouchShine; denedim hocam aynı işlemleri default tema içinde yaptım journal tema içinde yaptım aynı dosyalar içerisinde ama sonuç yine değişmedi
Aşağıdaki aşamalar yapmış olsan da tekrar üstünden geçelim. Journal ile ilgili yapacağınız işlemi de en sona ekliyorum. Lütfen ilgili dosyaları yedek alarak işlem yapınız.
Catalog/Controller/Product altındaki product.php açın ve aşağıdaki kodları bulun
$results = $this->model_catalog_product->getProductImages($this->request->get['product_id ']);
alt satıra aşağıdaki kodu girin.
$currencies = $this->model_localisation_currency->getCurrencies();
yine aynı dosyada şu kodları bulun
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; }
ve aşağıdaki ile değiştirin
$data['price'] = array(); if ($this->customer->isLogged() || !$this->config->get('config_customer_price')) { foreach ($currencies as $currency) { if ($currency['status']) { $data['price'][] = $this->currency->format($this->tax->calculate($product_info['price'], $product_info['tax_class_id'], $this->config->get('config_tax')), $currency['code']); } }
şimdi
Journal için şu yolu takip ederek product.twig dosyasını açın catalog/view/theme/journal3/template/product. Ardından şu satırı bulun
{% if not special %}
<div class="product-price">{{ price }}</div>
burayı şu şekilde değiştirin
{% if not special %}
{% for currency_price in price %}
<div class="product-price">{{ price }}</div>
{% endfor %}
bu değişiklikler indirimli fiyatlarda gözükmez. Ana fiyat üzerinde değişiklik olur.
Kolay gelsin