How to add a apps content to product-template.liquid

Xoftob
Tourist
6 0 2

Hello everyone,

I'm developing a shopify app that allows you to fill out a form and then validating it I get a result. Until now, I display this result in the same page of the app.

I wonder how can I display this result in product-template.liquid in a way to put for example a piece of code like :

<div id="myApp_section" class="myApp_main_content" data-url="{{ shop.url }}" data-handle="{{ product.handle }}" data-limit="0"></div>

I tried to see on the net but I haven't found what I'm looking for. Do you have any suggestions please?

Thanks in advance

0 Likes