It is slightly more complicated than a normal one.
Let's say I have items I want to sell. The customer can choose to customise an item and the calculator needs to work out the cost accordingly.
So for example:
- The items can be small, medium or large - each will have a base price
- They can be 1 colour or 2 colours, each has a separate price
- And the price per 100 depends on how many they buy. So for example if they buy 200 then it's £5.99 each. If they buy 500 then it's £5.50 each etc.
What is best to do here?
Should I be using arrays here or possibly storing in variables or using IF ELSE statements?
Thanks for any help.
Last edited by donatello; 08-09-2012 at 04:16 AM.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)