View Full Version : order quantity
athlon
03-May-2003, 06:46 PM
Hi all,
Please help!
Our stock is priced per mtr but our customers may require to order
various fractions of a mtr (no set amounts) e.g 1.75mtrs. is their
anyway this can be done, i`ve read a few theads but no joy.
thanx stu
NormanRouxel
04-May-2003, 02:37 AM
Without getting into Perl hacks and addidng bits of JavaScript (or both) the only off the shelf way is to sell in centimetres.
You could have a custom quantity box (using a tiny bit of javaScript) that takes the 1.75m type value and multiplies them by 100, rounding to the nearest cm if required.
It is also possible to substitute a drop down list for all the values you would accept orders in (i.e. all the cm sizes from, say, 10 to 500).
Your main problem with this is that Actinic's way of pricing in pennies (or cents, etc) may not give you a sensible value for a single cm of product.
It is possible to do much more complex calculations but they require quite a lot of patching.
Norman
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.