Fashion sales were a casualty of lower shopper numbers on high streets in July as consumers increased their spend on home items and at out-of-town locations, new figures show.