made min order amount use total, not subtotal, fixes dioscouri/amritasingh-f3#172