How to show Subtotal (EX VAT) in header
Posted: Tue Oct 23, 2012 7:56 pm
Hi all,
I have enabled “Display Prices With Tax” in the admin. And so my header displays the total+tax of the shopping cart in the header. Thats great but I would like to show the total(without taxes) also in the header. That’s actually the Sub-total (I only have one country I sell to).
Have opencart 1.5.4.1
I tried but can’t get it to work. In header.tpl:
<?php echo strip_tags($cart_contents['total_sum']); ?>
So I would need something like: ['subtotal_sum']
Also I would like to place the text; “Incl. TAX” and “Excl. TAX” behind the 2 prices in the header then.
Hope you guys can help.
I have enabled “Display Prices With Tax” in the admin. And so my header displays the total+tax of the shopping cart in the header. Thats great but I would like to show the total(without taxes) also in the header. That’s actually the Sub-total (I only have one country I sell to).
Have opencart 1.5.4.1
I tried but can’t get it to work. In header.tpl:
<?php echo strip_tags($cart_contents['total_sum']); ?>
So I would need something like: ['subtotal_sum']
Also I would like to place the text; “Incl. TAX” and “Excl. TAX” behind the 2 prices in the header then.
Hope you guys can help.