News:

Support the VirtueMart project and become a member

Main Menu

"including Vat Tax" - EU / non EU

Started by lostmail, June 18, 2013, 09:39:01 AM

Previous topic - Next topic

lostmail

I need a function which displays the textline" including VAT Tax" in product details page depending on the calculation rules (country of logged in users).

User is logged in =>>

X % TAX => Germany and EU: "including VAT Tax"

All other Countries which are non EU should not see the "including VAT Tax" (because it is not calculated for them - no calculation rule for VAT TAx is set).

What can i do to add this line depending caluc rules in productdetails/default.php ?

EDIT:
Found this line in default_showprices.php

Quoteecho $this->currency->createPriceDiv ('taxAmount', 'COM_VIRTUEMART_PRODUCT_TAX_AMOUNT', $this->product->prices);

I need this line only with the Text and without tax amount....how to modify that line ?

Joomla 3.x | VirtueMart 4.0.12 107771 | HORME3 PRO 1.9.6 / 2.0
VirtueMart 4.2.4 | Joomla 4.4.1 | PHP 8.1 | Vp_neoteric 1.3

lostmail

Hm - that is not the only problem with the Vat Tax (where this is the smallest problem)....i activated the "Tax" line again but I see now, that the VAT is calculated on the "old" Price. If i overwrite the price for specific product (not with the calculator rule !) - than the tax rate is calculated based on the "old" price - and that is absoultely wrong !!



[attachment cleanup by admin]
Joomla 3.x | VirtueMart 4.0.12 107771 | HORME3 PRO 1.9.6 / 2.0
VirtueMart 4.2.4 | Joomla 4.4.1 | PHP 8.1 | Vp_neoteric 1.3

AH

Regards
A

Joomla 3.10.11
php 8.0