mardi 29 août 2017

Calculator height width

I have a table with measurement - width and height (attached image). The red row is the width and the yellow column is the height. For width 400 and height 700 the price is 1025. The max width is 600, and the max height is 900. I did it with selects, but I have a problem to create calculation of the prices with inputs and if the user can write values between this numbers - for example if a customer writes 750 * 450mm the price should be 1325 becuase have to round off to the higher price after 700x400.

http://ift.tt/2wFWZxj 
http://ift.tt/2wl7IKO




Aucun commentaire:

Enregistrer un commentaire