What separates failing stores from thriving ones? A closer look reveals it’s not strategy, but psychology.