As people lined up for a coveted product, one grocery store saw a marketing opportunity.