If they can calculate the price at the tills, they can calculate the price for the labels on the shelves, or the price stickers
Companies already manage seperate ads in the EU for language, currency and price discrimination reasons, it's really not a huge bother.