News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

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 ?

VirtueMart VirtueMart 4.2.16 11030 | Joomla 4.x | PHP 8.3 | Vp_neoteric 1.6

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]
VirtueMart VirtueMart 4.2.16 11030 | Joomla 4.x | PHP 8.3 | Vp_neoteric 1.6

AH

Regards
A

Joomla 4.4.5
php 8.1