Interact with product page HTML via app

New Member
2 0 0

Hi all,

 

I need to interact with the product pages in Shopify from an app.

I search and read all the web for this and everything is how to start but not the actual examples.

 

I know for the ScriptTags and how to include them but that is.

 

If someone can give me a simple example of how for example to hide the Buy button and insert something on instead.

 

I know how to select it with the default theme with JQuery but what about all other themes?


Thank you in advice.

0 Likes
Highlighted
Shopify Partner
1316 154 235

It's indeed all theme specific, and if you want a universal solution you'd have to account at lest for the most popular themes. As for the actual code and development, it's no different from what you'd do with JavaScript on any store. If you have your JavaScript registered through ScriptTag, be assured it's going to be linked in the HTML head.

Sergiu Svinarciuc | CTO @ visely.io
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
- To learn more about the awesome stuff we do head over to visely.io or our blog
0 Likes