Yes. Store owners have a great deal of discretion as to who to serve--they are private entities, not public institutions. While there are some restrictions, such as no discrimination on  the basis of race or disability, in the case you describe, the store owner could refuse to serve you.