• When step 0.1 was selected with minimum quantity 0.2 there was an error in javascript causing skipping of quantities 1.1, 2.2,… etc

    We found the solution

    In \quantities-and-units-for-woocommerce\assets\js\ipq_input_value_validation.js

    line 54 we added this line new_qty = Math.round(new_qty + “e+4”) + “e-4”;

    	
    		// Calculate remainder
    		step = step * multiplier();
    		new_qty = new_qty * multiplier();
    		new_qty = Math.round(new_qty + "e+4")  + "e-4";
    		min = min * multiplier();
    		max = max* multiplier();
    		
    		var rem = ( new_qty - min ) % step;
    				
  • The topic ‘Skiping step 1.1 and 2.2’ is closed to new replies.