I know you said physical, but as an author if a student emailed me and asked for a discount on a digital edition, I'd give them a big discount code without a second thought. It's costless and easy for me to provide. Physical is not costless and is more complicated.
Also, digital has a lot of advantages for books that are likely to get updates.
Also, digital has a lot of advantages for books that are likely to get updates.