£9.99 m²

Below is how the calculation works for carpet, the vinyl section works in pretty much the same way Add another calculation field to re-adjust the price of the product. Since the option prices of the two 'Select' fields will be added to the total product price.

Carpet and vinyl are available at 10cm increments Below is how the calculation works for carpet, the vinyl section works in pretty much the same way in field #776 carpet length (field #632) is divided by 10 and rounded up so for a length of 565 cm we get 56.5 This calculation is rounded up so the resultant figure is 57 In field #765 the new calculate length (field # 766) is multiplied by 10 to round up to the nearest 10 so 570 This then is the carpet length in cm By multiplying this length by field #775 (the width expressed as cm) we get the number of sq cm. Dividing by 1000 expresses this in metres square, which we then multiply with the product price

Price per m²

Options total

Grand total