When you have structured data code with you, only incorporate it to HTML code on the page. For CMSes it will depend on the file the place the HTML of your topic is coming from. It could both be header.php or another file inside the concept folder. In this article https://addons.prestashop.com/de/seo-suchmaschinenranking-optimization/31857-automatische-google-rich-snippets-json-ld-opengraph-seo.html