Jump to content

<SOLVED> TAX problem


Recommended Posts

Hello All,

Well i just discovered that the Tax is not correct in the checkout page ( do not know if it was fine before hehe but i just noticed it )

It shows in the checkout page Tax Incl. and Tax Excl. the same price, but in BO when i print the order the correct taxes are there, how to fix this problem in FO ?

I checked ten times the zones and states but can not track down the problem yet.

Any ideas ??

See the attached screenshot

Best regards,

ysco..

33659_umQKqlClXKdkrdvTA1CM_t

Link to comment
Share on other sites

Hello razaro,

Well i compared the files and there where 30 differences but to try if that could be the problem i replaced the shopping-cart.tpl from the theme i use with the default shopping-cart.tpl from the default theme but that makes no difference .

Any other ideas what can cause this ?

Thanks.

ysco..

Link to comment
Share on other sites

I notice something - on summary page when you click on + or - for a second tax are different and then they are updated and become the same.

Try to debug it and I think problem could be in onepage.js lines

        total_tax_incl = jsonData.total_tax_incl;
       total_tax_excl = jsonData.total_tax_excl;

       total_tax_incl = (total_tax_incl !== undefined)?total_tax_incl:total;
       total_tax_excl = (total_tax_excl !== undefined)?total_tax_excl:total;



Before these lines are reached tax inc and excl are different, then because jsonData doesn't have total_tax_incl and total_tax_excl both values are undefined and become equal to total.

Try to contact zelarg and see if this is where problem occurs.

Link to comment
Share on other sites

Hello razor ;)

Thanks for checking buddy, really appreciate that.
Will contact zerlarg about this issue, I know he will have a look at it and solve if it is indeed something with o.p.c.

Will let you know if that was the problem.

Have a nice weekend buddy ;)

Best regards

ysco..

Link to comment
Share on other sites

Hello michldav,

Yes it is solved.
So i assume that you also use the one page checkout module from zelarg ??

If you use this module then you must look in modules/onepagecheckout/extras/modules/blockcart you must copy those 3 files from blockcart module and overwrite the ones in module/blockcart/

Make sure that you always make a backup off the files your overwrite.


ysco..

Link to comment
Share on other sites

  • 3 months later...
×
×
  • Create New...