# Conditional Price

**URL:** <https://forums.knack.com/t/conditional-price/10149>\
**Category:** Get Answers\
**Created:** [July 10, 2016, 10:49pm UTC](https://forums.knack.com/t/conditional-price/10149 "2016-07-10T22:49:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JasonDeWat68017](https://avatars.discourse-cdn.com/v4/letter/j/df705f/32.png) [@JasonDeWat68017](https://forums.knack.com/u/JasonDeWat68017)\
**Post date:** [July 10, 2016, 10:49pm UTC](https://forums.knack.com/t/conditional-price/10149/1 "2016-07-10T22:49:08Z")

</div>

I'm building a work authorization interface and have a few price equations to execute conditionally.

We are a repair shop. &nbsp;

The user will select the goods/service to perform.

Our retail customers pay the standard price linked to the goods/service pulled up in the work authorization. &nbsp;Our corporate accounts have discounts linked to their customer ID, which is also linked to this object.

The user will select if this is a warranty service, which defaults as no.

If it's a warranty service the subtotal estimate price should set to $0.

If it's not a warranty service the subtotal needs be the standard price less any applicable discount percentage that the customer ID has associated with it.

I understand how to have a conditional setting to make the subtotal = $0 if Warranty = yes. &nbsp;How do I get the field to show the proper price (with discount if necessary) if Warranty = no?

Your help is very appreciated!

---

<div class="post-metadata">

**Author:** ![Justin11773](https://avatars.discourse-cdn.com/v4/letter/j/5fc32e/32.png) [@Justin11773](https://forums.knack.com/u/Justin11773)\
**Post date:** [November 1, 2017, 9:04pm UTC](https://forums.knack.com/t/conditional-price/10149/2 "2017-11-01T21:04:34Z")

</div>

:)

---

<div class="post-metadata">

**Author:** ![Anne-Marie52953](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@Anne-Marie52953](https://forums.knack.com/u/Anne-Marie52953)\
**Post date:** [November 1, 2017, 8:56pm UTC](https://forums.knack.com/t/conditional-price/10149/3 "2017-11-01T20:56:48Z")

</div>

Thank you

---

<div class="post-metadata">

**Author:** ![Justin11773](https://avatars.discourse-cdn.com/v4/letter/j/5fc32e/32.png) [@Justin11773](https://forums.knack.com/u/Justin11773)\
**Post date:** [November 1, 2017, 8:44pm UTC](https://forums.knack.com/t/conditional-price/10149/4 "2017-11-01T20:44:19Z")

</div>

On the customer object set default discount % to 0

then on invoice object

Standard Price = Currency Field

Discount =&nbsp;equation field ({Standard price \* Customer.discount\_perc})

[when creating an equation if you start typing the name of a connected objects field you should be able to retriene the value] ie&nbsp;&nbsp;Customer.discount\_perc

Subtotal = Equation ({Standard Price} - {Discount})

warranty is boolean -default, No

Display Price = currency field, conditional rules

If Warranty is Yes, display Price =0

If Warranty is 'no' Display price = a field value (Subtotal)

&nbsp;

---

<div class="post-metadata">

**Author:** ![Anne-Marie52953](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@Anne-Marie52953](https://forums.knack.com/u/Anne-Marie52953)\
**Post date:** [November 1, 2017, 10:05am UTC](https://forums.knack.com/t/conditional-price/10149/5 "2017-11-01T10:05:04Z")

</div>

Hi - did you ever get anywhere with this?
