E-junkie Ecommerce Forums » E-junkie Discussions
Tag Cloud for this topic:
095
205
amounting
applied
calculating
cart
cents
checkout
code
discount
discrepancy
dummy
explained
few
function
fyi
help
imprecision
individual
isn
item
items
likely
magnifying
normally
order
page
per-item
percentage
price
prices
product
quantity
reflecting
result
rounded
rounding
set-up
spread
sub-cent
testing
times
total
try
wish
| |
| |
|
Harry member Posts: 19 |
I set-up a 10% discount code. The product price, before discount, is $194.75. 10% off should yield a $19.48 discount. But it's only calculating $18.45. This is an "all items" percentage discount. FYI, it's a quantity of 205, per-item price of $.95. # POSTED ON: February 12, 2011 @ 09:32 GMT -7 |
|
E-junkieGuru E-Junkie Crew Posts: 3734 |
The reason for the discrepancy is explained on this help page: http://www.e-junkie.com/ej/trouble.discounts.discrepancy.htm Normally, that would result in a discrepancy of maybe a few cents, but the same rounding imprecision applied across 205 items is magnifying the discrepancy in your case. A 10% discount amounting to $19.475 off the order total, spread across 205 items, works out to a discount of $0.095 off the price of each item, but we can't pass individual item prices to checkout with sub-cent precision, so that gets rounded to $0.09 off per item, times 205 items = $18.45 total discount. If this isn't reflecting an actual or likely order, and you're just testing the discount function, try making a dummy product with whatever price you wish, that you can Add to Cart to test with the discount code. # POSTED ON: February 13, 2011 @ 20:08 GMT -7 |
You must be logged in to make a post. Please click here to login. | |






