How to add script in header of product pages only.

Google is showing me these 2 errors in the Search Console:

Missing field “hasMerchantReturnPolicy” (in “offers”)
Missing field “shippingDetails” (in “offers”)

I generated the schema code for those two parameters, but I need a way to insert it into the header in my product pages only. I considered adding a dedicated schema plugin, but it looked much too complicated for me. Can your plugin do what I need?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer