Woocommerce Wishlist button on content-single-product.php

We searched for this tirelessly!

In order to add the “Add to wishlist” button into your custom built content-single-product.php you must add this line to the top of your file:

Then add this code where you want the button to appear:


If you need it without the quantity field just use this instead for the second part: