It depends on the type of store, but some will close for a couple of hours at least. Most people get used to it, but as a tourist it can be a little strange. It's a way of life, and shops that do open during the lunchtime aren't usually that busy. Most tourist places will stay open, but that isn't a general rule and only when it's high season.