MagneticOne Support Forum
  MagneticOne Support Forum > osCommerce Shopping Cart > Store Manager for osCommerce > Problem Reports
Register FAQ Search Today's Posts Mark Forums Read

 
 
Thread Tools Display Modes
  #1  
Old 08-31-2011, 11:12 PM
rbenditt rbenditt is offline
Junior Member
 
Join Date: Aug 2011
Posts: 2
rbenditt is on a distinguished road
Default Strange handling of tax with a discount

Hello,

I'm having some trouble with the Store Manager's order calculations. I have an order for $69.00 + 9.25% tax. After receiving this order, I attempted to put in a discount in the amount of $33.30. The tax that is computed comes out to $3.02. It seems to me that it should be: (69.00 - 33.30) * .0925 = 3.30.

Here is what I have in my Order Calculations dialog box:

"Subtotal" (ot_subtotal): sum_final_price
"Tax" (ot_tax): (sum_final_price - [ot_discount, 0.0] - [ot_coupon, 0.0]) * average_products_tax
"Total" (ot_total): ot_subtotal + [ot_tax, 0.0] + [ot_shipping, 0.0] - [ot_coupon, 0.0] - [ot_discount, 0.0]

Basically, they are all the stock default settings.

At one point, I changed the tax calculation to be simply "average_products_tax * 100" just to get the program to print out the tax rate that it is using, and I'm finding that it is using a rate of 8.47%. I don't know where that is coming from.

The order has only one line item ($69.00 + 9.25% tax) and I've entered the discount in the lower area where shipping and discounts are supposed to go. I entered the discount with a class of "ot_discount" with the "In Totals" checkbox checked.

One other thing that I've noticed after doing this is that when I run a sales report for the day that includes only this sale using the report "Sales Reports" under "Additional Reports", I see a Total Shipping Costs of "-9.25" and a Total Tax of "9.25". There should be no shipping at all. It is curious that these numbers are multiples of the tax rate. In fact, if I change the tax rate to 10% and re-run the report, I see "-10" and "10" show up for Total Shipping Costs and Total Tax. Strange. Any ideas on how to correct this?

I'm using Store Manager v5.1.5 build 1364 with osCommerce v2.3.1.

Thanks,

Ron
  #2  
Old 09-01-2011, 12:52 PM
demyanov's Avatar
demyanov demyanov is offline
Senior Member
 
Join Date: Apr 2011
Posts: 180
demyanov has much to be proud ofdemyanov has much to be proud ofdemyanov has much to be proud ofdemyanov has much to be proud ofdemyanov has much to be proud ofdemyanov has much to be proud ofdemyanov has much to be proud ofdemyanov has much to be proud of
Default

Hello,

Please contact us via e-mail at: contact[at]magneticone.com or submit a ticket at: www.support.magneticone.com so we could investigate your issue more deeply.

Waiting to hear from you.
__________________
Best regards,
---------------
Volodymyr Demyanov
Support Manager
MagneticOne Team
  #3  
Old 09-01-2011, 04:28 PM
rbenditt rbenditt is offline
Junior Member
 
Join Date: Aug 2011
Posts: 2
rbenditt is on a distinguished road
Default

Ok, I just submitted a support ticket, #76645.

Thanks,

Ron
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



MagneticOne forums © 2008-2010 Innovative Software Development.
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.