Many consumers have reined in their spending, and even top retailers have had to close underperforming stores.