Description
One possible cause of the display Out-of Stock Message not displaying in the Product details page of a Matrix item is because one of the required fields is not added on the matrixchilditems fieldset.
Solution
1. Navigate to Commerce > Websites > Website List > “Your Site” > Field Sets
2. Add Display Out-of-Stock Message line under the matrixchilditems sublist line.