A2 Hosting
Please post any issues you are having concerning installation or upgrade of OpenCart v1.x
8 posts Page 1 of 1
by fiscet » Fri Jan 25, 2013 2:02 am
Hi,
i need to set a negative tax rate, but the system ignore it!
I looked all the afternoon long for the code that calculates it ... but i couldn't find it :-(

Thanks
by i2Paq » Fri Jan 25, 2013 2:28 am
You need this why?
Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

UPGRADE to 2.x: Contemplate before thou begins!

Our FREE search: Find your answer FAST!.

BUGs?: Known BUGS for All OC Versions.

[How to] BTW + Verzend + betaal setup.
by fiscet » Sat Jan 26, 2013 1:06 am
Because in Italy, if you sell services and you are a "libero professionista", you have to reduce the import of a 20% for the italian customers.
The customer will pay that amount directly to the Treasury. This is crazy, I know ...
by comprido » Fri Dec 20, 2013 1:58 am
We here at spain have the IRPF, same thing, have u solve it?

Thanks!
by comprido » Fri Dec 20, 2013 2:48 am
SOLVED!

OPEN: catalog/model/total/tax.php

SEARCH FOR:

if ($value > 0) {

CHANGE TO:

if ($value != 0) {

DONE!

Image
by butte » Fri Dec 20, 2013 8:30 am
That is a relief. The title suggested that someone has a government that refunds rather than collects sales taxes in advance.

There are other ways to interject an offset, but what you have seems to work, and simply, so go with it.
by Attagirl » Sun Jan 08, 2017 9:21 am
OpenCart 2.3.0.2. I need to show full tax rate by product and then a new line with 50% of that tax deducted. I have created tax rate with full amount and second rate with half that. Have set it so that both rates show (using store address and customer address). But can't use a negative percentage.
A message from Dec. 2013 showed changing OPEN: catalog/model/total/tax.php
if ($value > 0) {
CHANGE TO:
if ($value != 0) {
the files in 2.3 are different and I think the equivalent is system/library/cart/tax.php but not sure and not sure what I would change. Or is there a better way?
by Attagirl » Tue Jan 10, 2017 1:35 am
I found the file catalog/model/extension/total/tax.php and made the change previously suggested.
8 posts Page 1 of 1
Who is online

Users browsing this forum: No registered users and 21 guests

A2 Hosting