Help with conditioned counting | WordPress.org

[ad_1]

Hello,

I need to make a commission calculator, but I am not sure if there is a way how to make such a condition:

The problem is that the percentage amount of the commission changes depending on the amount.

If the amount is up to 19,999 CZK, the commission is 30% of the amount (in CZK).
If the amount is 20,000 – 59,999 CZK, the commission is 25% of the amount (in CZK).
If the amount is between 60,000-299,999, the commission is 20% of the amount (in CZK).
If the amount is 300,000 CZK and above, the commission is 15% of the amount (in CZK).

I would like the commission calculation in CZK to be displayed in fieldname4. In fieldname2 there can be adjusted amount of CZK.

Is it possible to set such a condition for calculation? I am attaching a printscreen of the form, also the form can be seen here:

Thank you very much for your advise
Zuzana

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer