Obviously, the solution is to make it economically impossible for people to go on strike long enough for products to disappear from the shelves. Lax labour laws, high cost-of-living, privatized healthcare.
Why do you think Americans don’t go on strike like the French? Not many workers can afford to be out of a job, out of health insurance and eggs $30 a dozen.