Zgarrick attributes much of the decline in big-box pharmacies to Amazon and other online merchants that undercut the profitability of their non-pharmacy sales. In the past, big-box stores could treat pharmacies as loss leaders and make up that revenue with sales of other goods. Now, Zgarrick said, big-box stores have to ask tough questions about how to allocate their space: “‘At the end of the day, how are we going to make the most money per square foot? Is it by having a pharmacy or by selling tires?’”