It worked, thanks a lot. There is one more issue with out-of-stock products. https://snipboard.io/ejYMuX.jpg
If the product is not in stock then there is a button called “read more” how to replace text with “OUT OF STOCK”