This. All. Day. Long.
The fact this is even a discussion that needs to be had is sad. I breastfed mine until 2 and then weaned. If he was sick or hurt himself or was under the weather or extra clingy it was the easiest way to quickly soothe him. Mine has also always refused bottles (much to my disappointment because I really wanted him to be able to be bottle fed as well to give me more flexibility with childcare).
So to decide at 2 he should suddenly be handed a bottle which I'd need to go out and buy (never mind the pumping etc and equipment needed for that) would have made no sense whatsoever and been expensive.
Some children will also have a much harder time with weaning due to changes in their circumstances, trauma, autism etc and will be VERY attached to breastfeeding and I think it's great when mothers do their best to support their child with weaning at the time that best makes sense for THEIR CHILD rather than creating a rushed and distressing experience for the child.
I hope the shop owner gets exactly what is coming to them for breaking the law that's in place to protect children and breastfeeding mothers.
WHO recommendations are that breastfeeding is continued to at least the age of 2. The health benefits for child and particularly the health benefits for the mother are directly correlated to longer breastfeed (ie the longer you feed for the more benefit you get from it as a mother). And it's recommended for women like myself who had GD as longer term breastfeeding is linked to reduced likelihood of developing diabetes. After having GD you're 50% more likely to develop diabetes so I'll take that even if others choose to pearl clutch thanks.
The UK has one of the lowest rates of breastfeeding globally and really we should be doing all we can to support and empower women who breastfeed so that other women are able to feel its an option for them if they so choose and if they are able.