# How to Make Conditional Pricing Based on Volume?

• HenGen
Asked on March 25, 2016 at 12:04 AM

Greetings,

I am trying to create an order form with conditional pricing and the following logic.

- If up to 4 boxes of product are ordered, the total sum is priced at \$399 per box

- If up to 9 boxes of product are ordered, the total sum is priced at \$350 per box

- If 10 and over boxes of product are ordered, the total sum is priced at \$300 per box

I have tried using the Calculate Fields conditions, but I cannot seem to get the calculation correct, or I am not putting the formula in correctly.

Thank you.

• mert
Answered on March 25, 2016 at 04:58 AM

Hi there,

To achieve the scenario you want, you need the pass the values from outer field like "Form Calculation" widget. Also, you can find useful guide from the below, so you can understand the steps deeply by checking it:

http://www.jotform.com/help/275-How-to-pass-a-calculation-to-a-payment-field

To apply the 3 scenario we want, we need 3 "Update/Calculate Field" condition. Now, I will sort their exact setup. Please, follow from the below:

- If up to 4 boxes of product are ordered, the total sum is priced at \$399 per box,

- If up to 9 boxes of product are ordered, the total sum is priced at \$350 per box,

- If 10 and over boxes of product are ordered, the total sum is priced at \$300 per box,

After setting these conditions, you need post the value on the "Form Calculation" widget to payment tool by using the method on the guide. In addition, I made a demo form, so you can easily clone and modify it with your needs.