VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: lostmail on June 18, 2013, 09:39:01 AM

Title: "including Vat Tax" - EU / non EU
Post by: lostmail on June 18, 2013, 09:39:01 AM
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 ?

Title: Re: "including Vat Tax" - EU / non EU
Post by: lostmail on June 19, 2013, 23:51:13 PM
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]
Title: Re: "including Vat Tax" - EU / non EU
Post by: AH on June 22, 2013, 10:55:39 AM
Yes I have raised it as a question:-

http://forum.virtuemart.net/index.php?topic=116607.msg393346#msg393346 (http://forum.virtuemart.net/index.php?topic=116607.msg393346#msg393346)