Guest Michel Weegerink Posted November 17, 2006 Share Posted November 17, 2006 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 Quote Link to comment Share on other sites More sharing options...
Guest Arild Posted November 17, 2006 Share Posted November 17, 2006 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. Quote Link to comment Share on other sites More sharing options...
Guest Damien@Tech1 Posted December 21, 2006 Share Posted December 21, 2006 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; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.