You're thinking that just because people don't do it, it must be illegal. The idea of "one price for identical items" is a pretty recent invention, dating back to the rise of department stores (Woolworth's, Macy's, Sears) at the turn of the 20th century. It's for economic reasons, not legal ones. They found that it was cheaper to forego the extra revenue than it was to hire all the salespeople needed to negotiate each individual purchase. Charge less and make it up in volume. It also has the advantage of fairness and simplicity, which customers tend to like.
I'm not claiming to know this of all jurisdictions, there may be specific circumstances in which this does not hold, but these are the exceptions.
You're thinking about laws around hiring. I can't charge you double to buy a VCR in my store because I don't like your face.