Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^4: Math 101 anyone?

by bpphillips (Friar)
on Oct 12, 2004 at 14:57 UTC ( [id://398517]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Math 101 anyone?
in thread Math 101 anyone?

Unfortunately, in an e-commerce setting, you can't always wait until you have a total to show what the products will cost. You need to show the customer a price for one unit of a specific product (sometimes even with the discount broken out) in their own currency and then the numbers all need to add up to the correct total once they put several items into their cart. You end up getting penny off errors here and there that even if they are in favor of the customer, look very unprofessional.

Our solution was the opposite of your suggestion. We determine the converted price of one unit of a specific item (including discounts and exchange conversions) before adding up the total because then we can count on it being consistent across the site and through the checkout process.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://398517]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2024-03-28 23:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found