heres how you display prices excluding vat/tax and including vat/tax on all the category pages.
You can apply the same process, to all the product pages, related product pages, latest product pages etc etc.
The process is exactly the same. Any trouble just pm me and ill walk you through it.
Anyway for products in the category pages....
catalog/controller/product/category.php
find
Code: Select all
if ($discount) {
$price = $this->currency->format($this->tax->calculate($discount, $result['tax_class_id'], $this->config->get('config_tax')));
} else {
$price = $this->currency->format($this->tax->calculate($result['price'], $result['tax_class_id'], $this->config->get('config_tax')));
Code: Select all
$this->data['text_ex_price'] = $this->language->get('text_ex_price');
$this->data['text_inc_price'] = $this->language->get('text_inc_price');
Code: Select all
$this->data['products'][] = array(
Code: Select all
'exprice' => $this->currency->format($result['price']),
find
Code: Select all
$_['text_model_desc'] = 'Model Z - A';
Code: Select all
$_['text_ex_price'] = ' Ex Vat';
$_['text_inc_price'] = ' Inc Vat';
find
Code: Select all
<?php if ($display_price) { ?>
Code: Select all
<span style="color: #900; font-weight: bold;"><?php echo $products[$j]['exprice']; ?><?php echo $text_ex_price; ?></span><br />
Code: Select all
<span style="color: #900; font-weight: bold;"><?php echo $products[$j]['price']; ?></span>
Code: Select all
<span style="color: #900; font-weight: bold;"><?php echo $products[$j]['price']; ?><?php echo $text_inc_price; ?></span>