News:

Looking for documentation? Take a look on our wiki

Main Menu

VAT not showing on invoices

Started by dylanphelan, January 07, 2022, 14:53:01 PM

Previous topic - Next topic

dylanphelan

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?


Studio 42

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

dylanphelan

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.

   

dylanphelan

or do you mean you can use protostar as an override just for the VM invoice template?
am looking for this option

jenkinhill

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.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

dylanphelan

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.

dylanphelan

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.

dylanphelan

So, my template doesn't have invoice overrides...

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



dylanphelan

Also tried disabling rupostel OPC using default checkout..
didn't solve the issue.

dylanphelan

Looking at invoice_items.php

could anyone tell me what vm config settings this is

<?php if ( VmConfig::get('show_tax')) { ?>

dylanphelan

#10
Sorted

Just had to enable "show tax in cart" in vmconfig / pricing

Studio 42

The idea was to temp switch to e default template, verify and switch back.
But if it's solved ...