If it is way after that occasion, this is permissible, providing that there is nothing forbidden in these candies. but if it is close that festival, this is not permissible.

What is the ruling regarding buying halloween candy or christams candy the next day when it is 50% off and you ar ebuyingit bc its on sale and chocolate?

Manners |