Research into new in-store amenities, digital shopping formats, and partnerships reveals their unexpected costs and benefits.