Jump to content

TAX


Guest Michel Weegerink

Recommended Posts

Guest Michel Weegerink

I am using CC3 and having the following problem.

I am using product ith prices incl TAX.

I have added prices incl tax to the items and have the settings set to pricesincl TAX

However when I am checking out there is still the text n/a.

However by default the prices are incl 19,00% tax so there is has to be a tax amount!!

Forexample when the price inlc tax is 119,00 the tax amount has to be 19,00.

How to set the shop so the tax amount wil be shown correctly!

Michel

Link to comment
Share on other sites

I have mad a quick hack to yhis for my self. to includes/content/cart.inc.php

i think this is all the code, it show only the tax part. not adding up, and may breake the the "not working" tax settings in CC

$view_cart->assign("LANG_SHIPPING",$lang['front']['cart']['shipping']);

	

	$view_cart->assign("VAL_SHIPPING",$shippingPrice);

	

	$view_cart->assign("LANG_TAX",$lang['front']['cart']['tax']);




Fint the above code and add this under



	


	//Tax hack by Arild

	$tax = $subTotal * 0.2;

This is for Norwegian tax of 25 %, you have to find your number for 19% should be 0,15966386554621848739495798319328 but may not allways add up 100%

And you should also change the language text sins it doesent add the numbers only showing the tax.

Herby tax = or somthing simular telling customers that this is the tax included in the subtotal.

Link to comment
Share on other sites

  • 1 month later...
Guest Damien@Tech1

I have mad a quick hack to yhis for my self. to includes/content/cart.inc.php

i think this is all the code, it show only the tax part. not adding up, and may breake the the "not working" tax settings in CC

$view_cart->assign("LANG_SHIPPING",$lang['front']['cart']['shipping']);

	

	$view_cart->assign("VAL_SHIPPING",$shippingPrice);

	

	$view_cart->assign("LANG_TAX",$lang['front']['cart']['tax']);




Fint the above code and add this under



	


	//Tax hack by Arild

	$tax = $subTotal * 0.2;




This is for Norwegian tax of 25 %, you have to find your number for 19% should be 0,15966386554621848739495798319328 but may not allways add up 100%



And you should also change the language text sins it doesent add the numbers only showing the tax. 

Herby tax = or somthing simular telling customers that this is the tax included in the subtotal.
This worked for me!! */* However, the calculation he talks about doesnt work. This does for me. If i wanted 12.5% tax, it would be this:

All you do is remove the . (dot) from the tax percent, and add "0." to the front

$tax = $subTotal * 0.125;
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...