does anyone know how to display the VAT on the cart page all the time (whether logeed in or not)?
Any help much appreciated.
Cheers
Neil

OpenCart Theme Options - See All My Extensions - OpenCart Themes and Mods
I heart cmd-f, cmd-c, cmd-v, cmd-z + vQmod.
My favourite page...
v1.5.4.1
OpenCart Theme Options - See All My Extensions - OpenCart Themes and Mods
I heart cmd-f, cmd-c, cmd-v, cmd-z + vQmod.
My favourite page...
v1.5.4.1
OpenCart Theme Options - See All My Extensions - OpenCart Themes and Mods
Code: Select all
if (isset($this->session->data['country_id']) && isset($this->session->data['zone_id'])) {
$country_id = $this->session->data['country_id'];
$zone_id = $this->session->data['zone_id'];
} else {
if ($this->config->get('config_tax')) {
$country_id = $this->config->get('config_country_id');
$zone_id = $this->config->get('config_zone_id');
} else {
$country_id = 0;
$zone_id = 0;
}
}
Code: Select all
if($country_id == 0 || $zone_id == 0) {
$country_id = $this->config->get('config_country_id');
$zone_id = $this->config->get('config_zone_id');
}
OpenCart Theme Options - See All My Extensions - OpenCart Themes and Mods
Users browsing this forum: No registered users and 15 guests