Retail used to be a fairly simple proposition where store owners stocked their shelves with merchandise, competed with rivals over price, and tried to entice customers through the doors. Larger ...