Dawn Theme: How can I prevent preorder and in stock items being added to same cart?

I found an old post about a different theme here: https://community.shopify.com/topic/1043400

I can’t figure out where to put the second part of the instructions:

6. In the Sections directory, click to open your product-template.liquid file.

7. In the product-template.liquid file, find the code line that begins with <div class="product-single__add-to-cart

8. Then copy and paste the following code just above/before this line <div class="product-single__add-to-cart

I don’t have a product-template.liquid file. Please help.