4 Replies Latest reply on Jan 24, 2017 7:35 AM by Karl Heinz Kremer

    Custom Calculation Script to apply a conditional discount

    pickyb51952157

      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!!!