advice

Need some advice my almost 11 month daughter enjoys puffs and a teether crackers a lot so what I found myself doing is giving them to her when she's upset because it makes her happy so if were in a store and she's upset and I give her puffs she gets really excited and calms down. now I know this is going to be a problem eventually but for now it's working for me. my husband doesn't like to give her the food to make her happy which I understand but I'm not sure what else to do sometimes, especially if were out and I cant calm her down any advice appreciated