Need advice on finding a product configurator with price calculator?

Dear Community,

I am looking for a product configurator with a connected price calculator. I want to build an online store where my customers configure doors individually. Here, the size of the door plays a role in the first place, which determines the price. Finally I need a tool with an “if then” comparison, so if the door has a dimension that lies in a certain range, then give me a certain price.

I would be very happy if you could help me here. Or would you advise me to write such a tool myself using java?

Thank you very much,

Sebanlop