VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: dylanphelan on January 07, 2022, 14:53:01 PM

Title: VAT not showing on invoices
Post by: dylanphelan on January 07, 2022, 14:53:01 PM
Hi.

Last night I reduced all my prices by 15%, then created a rule which adds 15% VAT.

This worked perfectly, the correct VAT amount shows on on the checkout page. The invoice also shows the correct order total.

However, just below the order total on the order that is emailed, it shows:

VAT @ 15% - then it is blank next to that. It doesn't show the VAT amount, although the correct VAT amount was included in the total.

any ideas?

Title: Re: VAT not showing on invoices
Post by: Studio 42 on January 07, 2022, 16:17:51 PM
try another template, perhaps you have  a problem with the html overide ?
protostar is a Joomla core template in front and have no overide by default
Title: Re: VAT not showing on invoices
Post by: dylanphelan on January 07, 2022, 16:26:47 PM
Quote from: Studio 42 on January 07, 2022, 16:17:51 PM
try another template, perhaps you have  a problem with the html overide ?
protostar is a Joomla core template in front and have no overide by default

I can't go an change templates because of this small issue.

Surely it's not the joomla template. VAT shows on the order confirmation page.

It's an issue with the order email / invoice which is generated.

   
Title: Re: VAT not showing on invoices
Post by: dylanphelan on January 07, 2022, 16:42:38 PM
or do you mean you can use protostar as an override just for the VM invoice template?
am looking for this option
Title: Re: VAT not showing on invoices
Post by: jenkinhill on January 07, 2022, 16:57:22 PM
We usually suggest trying with Protostar or VMBeez is so that the VM default templates will be used. For example, if you have an override set for invoice_items.php this could prevent the tax/type from showing on the invoice but would not affect other pages such as order confirmation.
Title: Re: VAT not showing on invoices
Post by: dylanphelan on January 07, 2022, 17:05:54 PM
Quote from: jenkinhill on January 07, 2022, 16:57:22 PM
We usually suggest trying with Protostar or VMBeez is so that the VM default templates will be used. For example, if you have an override set for invoice_items.php this could prevent the tax/type from showing on the invoice but would not affect other pages such as order confirmation.

Thanks - am trying to figure out how that is done.
Title: Re: VAT not showing on invoices
Post by: dylanphelan on January 07, 2022, 18:55:23 PM
Quote from: jenkinhill on January 07, 2022, 16:57:22 PM
We usually suggest trying with Protostar or VMBeez is so that the VM default templates will be used. For example, if you have an override set for invoice_items.php this could prevent the tax/type from showing on the invoice but would not affect other pages such as order confirmation.

I've looked in through my template folder and don't see any VM invoice overrides.

Don't see any settings in VM that would help either.
Title: Re: VAT not showing on invoices
Post by: dylanphelan on January 07, 2022, 19:11:39 PM
So, my template doesn't have invoice overrides...

could it have anything to do with the way VAT is set up?


(https://www.ecohub.co.za/vat.jpg)
Title: Re: VAT not showing on invoices
Post by: dylanphelan on January 07, 2022, 19:24:50 PM
Also tried disabling rupostel OPC using default checkout..
didn't solve the issue.
Title: Re: VAT not showing on invoices
Post by: dylanphelan on January 07, 2022, 19:37:41 PM
Looking at invoice_items.php

could anyone tell me what vm config settings this is

<?php if ( VmConfig::get('show_tax')) { ?>
Title: Re: VAT not showing on invoices
Post by: dylanphelan on January 07, 2022, 21:18:55 PM
Sorted

Just had to enable "show tax in cart" in vmconfig / pricing
Title: Re: VAT not showing on invoices
Post by: Studio 42 on January 08, 2022, 20:36:45 PM
The idea was to temp switch to e default template, verify and switch back.
But if it's solved ...