If you would rather not stand out as a tourist, do not wear sandals with socks. The Spanish are very fashion-conscious.
Honestly, you could arrive with an empty suitcase: there are thousands of shops and fashion boutiques where you are bound to find something.