Selling a cloth in 20cm lengths with the user inputing the length in metres. (Tested with 6.1.2) This works with sections using "Quantity on Product page". The following will allow a length to be input in a fractional number of metres (like 1.23 metres) and will round it up to the next 20cm. The actual length ordered in metres and the number of 20cm units will be displayed in the Other Info Prompt. Put the following code into Act_Primary.html (just above the tag). Save the following chunk of code as Cloth_ProductLine.html NETQUOTEVAR:INCLUDE Act_ProductSeparator.html NETQUOTEVAR:ENDSEPARATOR NETQUOTEVAR:PRODUCTFORMBEGIN NETQUOTEVAR:TEMPLATEBEGINXML NETQUOTEVAR:PRODUCTIMAGE NETQUOTEVAR:PRODUCTNAME NETQUOTEVAR:PRODUCTREF
NETQUOTEVAR:PRODUCTDESCRIPTION NETQUOTEVAR:EXTINFOLINK
NETQUOTEVAR:EXTINFOBUTTON
NETQUOTEVAR:PRODUCTBEGINLINKNETQUOTEVAR:PRODUCTLINKTEXTNETQUOTEVAR:PRODUCTENDLINK NETQUOTEVAR:PRICEEXPLANATION
NETQUOTEVAR:PRODUCTPRICE NETQUOTEVAR:DATEPROMPT NETQUOTEVAR:CARTERRORXML Enter length in Metres (e.g. 1.2)
NETQUOTEVAR:ADDTOCARTBUTTON
NETQUOTEVAR:TEMPLATEENDXML NETQUOTEVAR:PRODUCTFORMEND NETQUOTEVAR:NEXT Now we have to display the customised quantity prompt for these special products. Edit ActinicOrder.pm (make a backup copy first) - use a text editor, not a word processor - e.g. www.editpadlite.com. Search for the line (there is only 1 occurence):- $sHTML = ""; REPLACE it with the following fragment:- if ( $sValue =~ m/