Online Learning and Optimization for Revenue Management Problems with Add-on Discounts