"well yeah but the workers consented "
People do a lot of things when desperate, that shouldn't inform how we design our society
Jeeeeeesus christ, how am I designing how they spend their time?
How can you detect lack of freedom in saying "you can't work for unlivable salaries" but not in "I only pay unlivable salaries because if you dont want these crubs there's other more desperate people".
> Ultimately the worker is payed by the company's customers,
No, no, they are paid by the owners who decide what slice of the income to allocate to salaries. The customers pay the product and walk away, they don't know anything about the internal workings of a company
>and if the law asks consumers to pay more than they're willing to pay for the workers' service,
The law asks the boss to pay livable salary, the end price has nothing to do with the law. If the service cannot be offered at competitive prices while offering livable wages, it's not a sustainable business
And you are right, higher prices lead to less consumption.
Basically any employee contract is a cooperation between two parties leading to a shared benefit of that cooperation. How that benefit is partitioned between the two parties is a matter of negotiation and negotiation power.
Wages below a certain standard of poverty are a different issue, and those aren't the jobs with hiring problems anyway.