VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: coppo82 on November 26, 2012, 13:56:32 PM

Title: Show the TAX value
Post by: coppo82 on November 26, 2012, 13:56:32 PM
Hi all ,

i add a new text line into my language.ini because i want show i sentence for each products in my virtuemart.

the santence is this " The Tax for this produc is :  TAX VALUE %

in my shop i have 2 kind of TAX  19 % and 7 % 

in my string in the language.ini how can i recall the TAX VALUE ???   COM_VIRTUEMART ..........  or something differents ???

thanks.
Title: Re: Show the TAX value
Post by: edirola on February 20, 2013, 20:53:50 PM
Hi,

I need to show tax value (XX%)  in product flypage, too. Any suggestion how to do it would be very  wellcome  ??? It should look and function like in old Virtuemart (included XX% tax)

Please help
Title: Re: Show the TAX value
Post by: edirola on February 22, 2013, 08:22:46 AM
Does anybody have a solution?  ???
Title: Re: Show the TAX value
Post by: _margie_ on March 26, 2013, 17:00:19 PM
Hi
I have found something about this and it's not finished just yet but I'm stuck
I found how to show the tax value but the problem is that it is overwritten each time I show it
so if I have a product with tax 21% and a product with tax 12% it only shows tax 12% for both of them
this is my code

foreach ($this->cart->cartData['VatTax'] as $rule) {
   $taxValue = round($rule['calc_value'],0);
    } ?>
   
   <?php echo "<span class='priceColor2'>".$taxValue."</span>" ?>

maybe this can help you out and maybe you will find a solution for this

Greetz Margo