Custom Calculation Script to apply a conditional discount
I am trying to figure out how to write a custom calculation script for a discount on an order form.
There are several items on the order form (all $16.60 each).
I add all the items and multiply them by 16.60 for the TOTAL.
If the TOTAL is greater than $398.40 (= 24 items), then I want to give a new total that takes 5% off the total.
Can someone please help me create that formula? I have no idea how to make these javascript formulas. Thank you!!!
