We have an online store in Magento 2, and we need to calculate prices according a price table like this.

enter image description here

The product page has two text fields where users type their measures. After they type the height and length we need find out what price is the correct for that measure.

In the image table, the price on green corresponds to any height value between 1.61 and 1.80 and any length value between 1.51 and 1.60

I have to mention that prices in the table are not linear prices, so it's impossible to calculate them in any way.

So... is there any known magento extension to make it work? How would you do it?

Thanks in advance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.