Sticky inflation has produced savvy consumers, who are very deliberate about where they spend their money. That’s an advantage for some retailers.