Yeah in this instance "yes" would cover both and if you want to answer with either specific then you name them
"fries, thanks, no shake"
"a shake please, yes"
Those all seems clear to me
Edit although if you just answer "yes" the cashier should prolly confirm "both?", if he's a pro.