Hy, it's possible insert decimal number into order. I've see an aswer for QC 2.2 (http://opensolution.org/Quick.Cart/forum/?p=readTopic&nr=4935) but not yet for last version! Thanks!
It is possible. 1. You have to replace: (int) $iQuantity - there are 2 entries - in function addToBasket in core/orders.php to: ereg_replace(',' , '.' , $iQuantity) 2. In product_default.tpl change: <input type="hidden" name="iQuantity" value="1" /> to: <input type="text" name="iQuantity" value="1" /> 3. Remove alt="int" in the line: <input type="text" name="aProducts[$aData[iProduct]]" value="$aData[iQuantity]" size="3" maxlength="4" class="input" id="quantity$aData[iProduct]" alt="int" /> in orders_basket.tpl
I did not test it. This solution is only what my logic tells me ;-)
OK, I went so far... With a good editor (like notepad++) and good file manager, it took me about 15 minutes (only replacing the entries, not trying and searching for "integer-trojans" ;-) 1. Replace all iQuantity to fQuantity (in every file!!!) (the first letter 'i' indicates the integer and will be checked in FlatFiles) 2. Remove alt="int" in lines with Quantity in templates (.tpl) 3. Replace (int)$fQuantity to ereg_replace(',' , '.' , $iQuantity) in core/orders.php --> addToBasket function 4. And now the last "integer-trojan" ;-) in the core/orders.php saveBasket function replace: $aExp[2] = (int) $aForm['aProducts'][$aExp[1]]);