Are you planning to buy the alcohol airside at EDI? If not you would need to go landside anyway and check it in.
now totally confused, last year went to EDI for an airport run bought 2 bottles of alcohol at LHR, stayed airside in EDI as had printed off the return trip prior to leaving LHR, and bought 2 more bottles, with no hassle, certainly did not go landside.