(as would any other store) took a look at the cultural attitudes on a state by state basis and the laws and decided that the negative PR that would be generated by a right wing gun enthusiast in Florida posting a (potentially edited) video or nasty comment about being not being allowed to carry a gun into the store would be more damaging than a boycott or threatened boycott. In recent years the right has been more effective at boycotts and threatened boycotts than the left.
Personally, I think what would be more effective would be if everyone who cares walked out of Publix (or any other store) - leaving half full carts is necessary - the minute they saw someone with a gun. I did that at a dollar store (back when I still shopped at dollar stores) in Arizona. I saw a guy with a gun on his belt, quickly moved to a different aisle and, after thinking about it, walked out of the store without making a purchase. I would have done it at a Lowe's here in Virginia but we were finishing up a purchase. Can you imagine what the effect would be if, say, 1/2 the shoppers stopped and walked out of the store the minute they saw someone with a gun? THAT would wake corporate up even more than a boycott (as it would be a very clear direct cause and effect).