For online shoppers, price trumps loyalty, study finds