I had never encountered this setup before either. Hence my unusual solution.
But hey, at least your solution worked. Too bad about the disapproving looks though (depending on your age, maybe they thought you were some kind of delinquent).
Only children and people accustomed to how stores in most of the world work.
"Pardon him. Theodotus: he is a barbarian, and thinks that the customs of his tribe and island are the laws of nature."
You might be surprised at the number of people that will bypass intentional barriers when the overall layout is stupid. The internal dialogue is something like "me doing this is less stupid than whoever decided this setup made sense".