In this tutorial, I am going to add the button to product page so that User can Pin the Product Images to the Pinterest. By the way, You can add this Code anywhere in the website to get this Pin it button.

Go to: ROOT/wp-content/plugins/woocomemrce/templates/single-product (And open product-image.php from here. Now place the pin it widget code here.)

After Adding the code, You will see Pin it button in the product Images.

Upon clicking this button it will display all images of the product and you can pin every image solely.