Companies have been been buffeted by three years of inflation, worsened by recent trade war tariffs. And shoppers are chasing discounts