fixed a but that compares minimum order amount with discount price