
Originally Posted by
stxmona
... When we go to edit the quantity amount in an order, it will delete items from the order that have a .5 quantity amount. ...

Originally Posted by
nlinksolution
... I have Product Qty in Fraction. i.e. 0.5 ... So when i edit any order having product ordered with QTY 0.5 and update that order, Product gets disappeared from order. ...
Try making the following change (to Edit Orders 4.1.2) and let us know if it solves the problem for you (if you report it fixes the issues - the code will be added to the next release of Edit Orders).
Edit "/admin/edit_orders.php". Around line 245 change the int cast to a float cast. The original code looks like:
Code:
$_POST['update_products'] = zen_db_prepare_input($_POST['update_products']);
foreach($_POST['update_products'] as $orders_products_id => $product_update) {
$product_update['qty'] = (int) $product_update['qty'];
After making your changes the code should look like:
Code:
$_POST['update_products'] = zen_db_prepare_input($_POST['update_products']);
foreach($_POST['update_products'] as $orders_products_id => $product_update) {
$product_update['qty'] = (float) $product_update['qty'];