Why exactly? Which laws would I be violating if I did?
As a customer, I have no interest in you advertising for me, so it's not comparable. Any information that you spread around about me is likely to give other "shopkeepers" greater leverage over me (which is why vendors don't do this in the real world unless they have some sort of financial relationship with each other.)
Our government shouldn't be in the business of policing modesty or decency. Only administering the basic peace.
Before we didn't have these laws because this wasn't a problem in practice - nobody was calling other businesses at scale to tell them who was buying fungus cream. If they were, we would've had a law equivalent to the GDPR to prevent that.
Actually, there was one incident in the US where a politician's video rental history was disclosed against his wishes and as a result a law was drafted to prevent this practice in the future: https://en.wikipedia.org/wiki/Video_Privacy_Protection_Act