Oops, I did not have the "allow checkout" switch turned on when trying out the aforementioned trick. I guess it doesn't work afterall, (still allows checkout when "units" field is set to 0) so I'm still in need of a solution.