Brick-and-mortar stores have a lot to learn from online marketplaces.