How retailers are protecting revenue when consumer spending slows