The discount code on the online offer is valid on the item listed. If the offer states 2-4-1 then one item will be paid full price and the other item in your cart will be for free.
To order more items you would need to place a separate order and generate a new discount code from the app.