1) The code works however it creates another problem. For single products that are out of stock the text “Read more” disappears as well. This should remain unchanged. See: https://prnt.sc/l94KQUsW17dE
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.