I agree with the approach but not the instances. 1 pack of toilet paper lasts a good while so that's OK. 1 pack of pasta per day means you have to go back to store every day and expose yourself and others to danger.
Well they can only deliver so much pasta per day (the pasta factories are presumably already going full tilt) so the other option would be to massively raise the price... apparently not a popular option. You don't have to go back every day because there are 100s of other non perishable foods people aren't panic buying.