It is allowable to eat the sweets of the shop. The sweets of the shop will not be haram by naming the shop after their gods. Yes, when one is sure that the sweet presented to him is from the offerings of their gods then it will be unlawful to eat it.
Allah (Subhana Wa Ta’ala) knows Best
Darul Uloom Deoband