Guest Posted October 11, 2005 Share Posted October 11, 2005 Hi In my store all prices are included 25% tax. In the tax line I want the total tax diplayed. Example Amount: 100 Euro Tax Included: 25 Euro Shipping: 10 Euro Total: 110 Euro This is the normal tax sett up for all scandinavian countries. I know there was a fix for it in CC2 Can anyone help me set up the tax calculation like this? Regards Nils Quote Link to comment Share on other sites More sharing options...
Guest Posted October 14, 2005 Share Posted October 14, 2005 Join me to the list. Quote Link to comment Share on other sites More sharing options...
Guest Posted October 18, 2005 Share Posted October 18, 2005 Hi I will pay a smal fee for this and donate the mod. Any takers? Best regards Nils Quote Link to comment Share on other sites More sharing options...
Guest Posted January 21, 2006 Share Posted January 21, 2006 No one?? Quote Link to comment Share on other sites More sharing options...
Guest Posted January 21, 2006 Share Posted January 21, 2006 Can you explain wot it does now and looks like and wot u want it to do and look like so I can get it done for you asap pls Quote Link to comment Share on other sites More sharing options...
Guest Posted January 21, 2006 Share Posted January 21, 2006 Can you explain wot it does now and looks like and wot u want it to do and look like so I can get it done for you asap pls It look like now: Example: Amount: 75 Euro Tax Included: 25 Euro Shipping: 10 Euro Total: 110 Euro I want to do like this look like: Example: Amount: 100 Euro Tax Included: 25 Euro Shipping: 10 Euro Total: 110 Euro (And tax still include per product too) Now i can't use tax at all, it would be nice if someone tell me how it can chance like last examle Quote Link to comment Share on other sites More sharing options...
Guest Posted January 22, 2006 Share Posted January 22, 2006 Have fixed this one Open cart.inc.php ( CubeCart_3.0.7-pl1 ) Find line 531 if($config['priceIncTax']==0 && $taxCustomer==1){ Add after this: if($taxCustomer==1){ Find line 620 if($tax>0){ Add after this: $tax += $sum*0.2; Find line $grandTotal = $subTotal + $tax + $basket['shipCost']; Replace with $grandTotal = $subTotal + $basket['shipCost']; And save the file. In the admin panel set the tax ink tax. And in the admin panel under Tax settings set the Standard Tax to 20.000 Finished =) God luck all =) Quote Link to comment Share on other sites More sharing options...
Guest Stunter Posted January 26, 2006 Share Posted January 26, 2006 Have fixed this one Open cart.inc.php ( CubeCart_3.0.7-pl1 ) Find line 531 if($config['priceIncTax']==0 && $taxCustomer==1){ Add after this: if($taxCustomer==1){ Find line 620 if($tax>0){ Add after this: $tax += $sum*0.2; Find line $grandTotal = $subTotal + $tax + $basket['shipCost']; Replace with $grandTotal = $subTotal + $basket['shipCost']; And save the file. In the admin panel set the tax ink tax. And in the admin panel under Tax settings set the Standard Tax to 20.000 Finished =) God luck all =) It won't work. And have the same version 3.0.7-pl1. Getting the error: Parse error: parse error, unexpected T_ELSE in /home/wifistunt/domains/wifistunter.nl/public_html/includes/content/cart.inc.php on line 660 This comes up when I click on view cart!!! Please help me :P Quote Link to comment Share on other sites More sharing options...
Guest TazZ Posted January 27, 2006 Share Posted January 27, 2006 Search for my username and you will find a solution - BUT plz note that my solution is not perfect, but it works well if you only trade in your own country. Quote Link to comment Share on other sites More sharing options...
Guest Posted January 28, 2006 Share Posted January 28, 2006 Hi agen! Post the cart.inc file so you can se this one. This is for scandinavien users.cart.inc.php Quote Link to comment Share on other sites More sharing options...
Guest Posted February 2, 2006 Share Posted February 2, 2006 Thanks Gizze You should post it as a mod. Best regards Nils Quote Link to comment Share on other sites More sharing options...
Guest timecrisis Posted February 16, 2006 Share Posted February 16, 2006 OK, Actually I have decided to go with a simpler way of doing things. I am going to use the cart as it is set up and include TAX in my prices. What I want to do is add a piece of text saying "Total Tax charged = $xx" This would be a calculation based apon the TAX percentage of Grand Total+ Shipping. Apologies for the confusing posts..My head hurts. Basically it is legal requirment in the UK for merchants to show a list of the VAT/TAX charged. If anyone could suggest code for adding such a piece of text to the checkout and also for the admin pages, That would be great. Quote Link to comment Share on other sites More sharing options...
Guest sundayman Posted April 18, 2006 Share Posted April 18, 2006 the cart.inc.php file earlier in this post made some strange calculations....i looked it thru and saw that the tax written in the file was set to 20%. Here in Sweden we have 25%. I think i did manage to change it and it is working super on my site! I get products incl tax shipping incl tax total tax Grand total on my invoice receipt. Great stuff! Quote Link to comment Share on other sites More sharing options...
Guest Posted April 21, 2006 Share Posted April 21, 2006 Hi, help. I tried the Gizze's mod and the tax doesnot show. i uploaded the attached file, tax still not show. i tried to do the mod, it come back with error "Parse error: syntax error, unexpected T_ELSE". then i seached and found you other post and it doesn't work neither. i had spent at least 3 days tried to fix this problem. Can somebody please upload a working file please? this is how i want it to show: Total: total tax shipping: Grand total Quote Link to comment Share on other sites More sharing options...
Guest Posted April 21, 2006 Share Posted April 21, 2006 Thanks so much Gizze, it worked. it is my fault. Quote Link to comment Share on other sites More sharing options...
Guest TangoXray Posted May 31, 2006 Share Posted May 31, 2006 Hi agen! Post the cart.inc file so you can se this one. This is for scandinavien users. Can anyone tell me what is changed in this file? I use other mods as well, and can´t just upload the file, it will ruin the other mods... Thanks in advance. /Stefan 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.