Household toilet paper ran out (commercial did not, but its made for very different dispensers) because the supply chains are hyperspecialized and cannot adapt on any reasonable timetable. It absolutely did have to do with manufacturing capacity (otherwise it would have resolved much more quickly), and a rapid demand realignment of where people were using restrooms. The absence of price gouging laws would not have dealt with the fundamental problem, or even with the hoarding response once the supply problems became visible, it would just have shifted which hoarders cleaned out the stocks to the richest rather than merely the fastest, and would have put a lot more money in the hands of sellers.