dlsodders Posted April 11, 2004 Posted April 11, 2004 I just cleaned up what I thought were all of the bugs with this until I realize the total is .60 cents more than it should be. Sub-Total: $0.69 OH TAX 7.0%: $0.05 Table Rate (Best Way): $8.50 Gift Vouchers: $5.00 Total: $4.84 Should be 4.24 Anyone else have any problems with this, and if so how did you get it resolved? Thanks, david Quote
recaddy Posted April 11, 2004 Posted April 11, 2004 Sounds like something is being rounded up or down. My guess is the 8.50 figure b/c it is an error in the amount of $0.50. Try using the tep_round() function, which is included with osCommerce. To round to two decimal places, do this: (assume your current output = $unrounded_variable) $rounded_variable = tep_round($unrounded_variable, 2); Quote
Chris Dunning Posted April 11, 2004 Posted April 11, 2004 Unless you've been REALLY hacking into the code, I doubt that's the case...I would check into your tax settings on the gift vouchers and shipping. Quote Chris Dunning osCommerce, Contributions Moderator Team Please do not send me PM! I do not read or answer these often. Use the email button instead! I do NOT support contributions other than my own. Emails asking for support on other people's contributions will be ignored. Ask in the forum or contact the contribution author directly.
Paycheck Posted April 11, 2004 Posted April 11, 2004 Hey guys I am also having a problem with the gift voucher. Mine however is this. http://www.oscommerce.com/forums/index.php?showtopic=87526 Can someone take a look at my forum post and let me know what I might do to solve this problem. Thank you Quote Always remember, we need patience, guidance and most of all understanding. My Contributions
dlsodders Posted April 13, 2004 Author Posted April 13, 2004 Thanks for the info guys. I uninstalled the flat rate shipping method and it resolved the problem. Didnt test it the other way. Question: How does the rates for shipping in the UPS mod get calculated? For instance it says ground is 6.50. Any way to change these? Quote
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.
Note: Your post will require moderator approval before it will be visible.