some small changes after merging with dkzozatc:: work over editing quantity of units in products