Logic compare prices