This Mishnah discusses what happens outside a particular part of a city when an idol worship holiday is taking place there. The Mishnah says, “If a city was having a holiday for Avodah Zarah (idol worship) inside it, then outside the city it is permitted to have business dealings with those people, because they are not involved in the celebration. If the idol worship holiday was happening outside the city, then you are allowed to have business dealings inside the city, because people inside the city would not have any involvement with the celebration.”
The Mishnah asks, “Is a Jew allowed to go to that city for a non-business matter—to talk to one of the residents or do something else there?” If the road to the city has that city as its only destination—in other words, there is no other stop along the way or afterward, and it is not a journey on which a person could go to multiple places, but the only place that road leads to—then it is forbidden, because it looks like you are going to join them in their Avodah Zarah holiday. But if it is possible to take that same road to another place—for example, there is another city on that road, and someone who sees you could assume you were going to that other place—then it is permitted to go to the place where the holiday is being celebrated. You are allowed to go there. People will not look at you in that funny way when they see you on the road.
When they would have these celebrations, there were certain shops that would charge anyone who walked in a certain fee, and they would give that money to Avodah Zarah. The shops decorated with fruit were the ones with an Avodah Zarah connection, while the tax collected at shops that were not decorated with fruit would not go to Avodah Zarah. If you have a city where idol worship was going on and the festival was being held at that moment, with some shops decorated with fruit for the idol and some shops not decorated, there was once a case in that area. The rabbi said that you could assume the tax paid at shops with fronts decorated with fruit would benefit idol worship, so it was prohibited to do business there. But at shops without decorated fronts, you were allowed to spend money, since it would not go to idol worship.
The obvious question arises: Even if the tax you are paying is not going to idol worship, how could you do business with people around their holiday? We explained in the first few Mishnayot that you are not allowed to do business three days before their holiday, regardless of whether they have a decorated front. Their doing any business with you is going to lead them to thank their God, the idol. Therefore, you should be prohibited from doing any business, as we have been saying. So how could we have the ability, at the end of this Mishnah, to do business with people who do not have a decorated front—a decorated front of their store?
The Hachamim (the Sages) answer here that the entire Isur (prohibition) really only applies to perishable items, which the owner really wants to get rid of and sell because they are going to expire, spoil, or go bad. In that type of scenario, the owner was really going to celebrate and thank God; he would be very happy that he got rid of the items, because he would have lost money if he did not. But we are talking about non-perishables, items that are not going to go bad. In that case, there is no prohibition on doing business, even with the idol worshippers in their town; it is fully allowed. The only people you are not allowed to do business with, even with those non-perishable items, are those whose stores are decorated for the holiday they are celebrating, so you know for sure that the money is going to go to idol worship.
So, in this scenario, since the people did not have decorated fronts, you are allowed to do business with them only if we are talking about non-perishable items, and the person is not going to be jumping for joy because of the sale. He could have kept the item a few more days and maybe made a sale next week. It is not going anywhere; it is not going to spoil. So, the Hachamim comment here; the Bartenura says that this is shari b'yom eidam (permitted on their festival day): that type of sale of non-perishable items is even allowed on their holiday. By making that deal with them, you are not making them tremendously happy; they are not going to celebrate because of it. It is not a major score, so it is permitted to do that type of business.

