News:

Looking for documentation? Take a look on our wiki

Main Menu

VAT calculations on email template

Started by chris.white, July 25, 2019, 16:31:10 PM

Previous topic - Next topic

chris.white

Hi All,
Hope everyone is well.

i have an email template issue/query.
our site constructionequipment.co.uk includes vat as default.
however when a user places an order they receive an order confirmation and on the order confirmation i would like it to display;

ex vat price
vat amount
total

it currently displays;

price (inc vat)
vat (always £0)
total (same as price)

how would i go about doing this?
i have the latest joomla + virtumart

thank you for your time

StefanSTS

#1
You can edit the template file for that, if you have that file in your template.

/templates/your_template/html/com_virtuemart/invoice/mail_html_pricelist.php,
/templates/your_template/html/com_virtuemart/invoice/invoice_items.php.

If it is not there you can copy it there from the core
/components/com_virtuemart/invoice/tmpl/mail_html_pricelist.php,
/components/com_virtuemart/invoice/tmpl/invoice_items.php.

Second file is for the invoice.

Regards
Stefan
--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.

AH

#2
So look at configuration first - this is not an override template issue.

You show a tax heading in cart but do not show any value for this

This is probably because  your configuration does not have "display taxes" configured

vmadmin/config/prices    Show Tax in Cart

You will need to consider your other settings on this page as well


Unrelated but maybe of some importance

I noted that you do not disclose a business address/ details relating to returns/ delivery except where it is "hidden" in a terms of service that cannot be accessed until the order is nearly completed etc

You may wish to refer to this page and related pages - to assist with becoming compliant:-

https://www.gov.uk/online-and-distance-selling-for-businesses

QuoteIf you don't follow the rules you could be made to provide the goods or services as agreed, pay compensation or be given an unlimited fine or a prison sentence.


In addition:

I could not find any privacy policies GDPR is also something to be considered

https://ico.org.uk/for-organisations/
Regards
A

Joomla 3.10.11
php 8.0

StefanSTS

It would be helpful to see a screenshot with the actual mail layout and a few words, numbers and arrows how it should look like.

And a screenshot of the tax rules.

Regards
Stefan
--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.