I would resolve it calmly.
The customer might still be very impatient and frustrated but i would ask them what item they wanted and check when its to be restocked. i would then apologize for the inconvenience. tell them the date when the item restocks and tell them to try to get it before its out of stock again.