ysco Posted November 19, 2010 Share Posted November 19, 2010 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 screenshotBest regards,ysco.. Link to comment Share on other sites More sharing options...
razaro Posted November 19, 2010 Share Posted November 19, 2010 Try to compare code in shopping-cart.tpl from your theme and default one. Link to comment Share on other sites More sharing options...
ysco Posted November 19, 2010 Author Share Posted November 19, 2010 Hello razaro Thanks for the advice buddy, will try and see if there is a major difference.Will post the results.Thanks.ysco.. Link to comment Share on other sites More sharing options...
ysco Posted November 19, 2010 Author Share Posted November 19, 2010 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 More sharing options...
razaro Posted November 19, 2010 Share Posted November 19, 2010 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 More sharing options...
ysco Posted November 19, 2010 Author Share Posted November 19, 2010 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 regardsysco.. Link to comment Share on other sites More sharing options...
michldav Posted November 23, 2010 Share Posted November 23, 2010 Hi - did you solve this? Im having the same issue? Link to comment Share on other sites More sharing options...
ysco Posted November 23, 2010 Author Share Posted November 23, 2010 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 More sharing options...
michldav Posted November 23, 2010 Share Posted November 23, 2010 hiyes im using the v.2.2 from zelarg on a prestashop 1.3.2 website.i just followed your guideline, and it fixed the issue.thanks so much! Link to comment Share on other sites More sharing options...
ysco Posted November 23, 2010 Author Share Posted November 23, 2010 Your welcome Thanks to Zelarg for his always continues great support ( all the credits for him )Best regards,ysco.. Link to comment Share on other sites More sharing options...
kiteboarder Posted February 27, 2011 Share Posted February 27, 2011 Hi guys, only way what make this issue solved in my 1.3.2 is to delete two lines: total_tax_incl = jsonData.total_tax_incl; total_tax_excl = jsonData.total_tax_excl; in onepage.js.Everything in order process seems to work ok Link to comment Share on other sites More sharing options...
Recommended Posts