Adding Html Module to Page.

Shopify Partner
5 0 0

What is the best way to inject html on to someones page?  For example a trending tweets box. So far I am just injecting javascript and it doesn't work that well with all themes.

Are pages like the checkout page (checkout.shopify.com) always going to have the same html mark up? 

Thanks!

0 Likes
Highlighted
Shopify Staff
Shopify Staff
582 0 45

You can achieve that using a script tag if the stuff you are injecting isn't anything too crazy.

Alternatively if it's an entire page you could use an application proxy.

For a combination, I'm not entirely sure, but that might require either relying on theme changes or by making changes to a theme. This is fragile though because if a merchant changes to a new theme all your changes would be lost.

0 Likes
Shopify Partner
5 0 0

Thanks Chris.

Is the checkout page (checkout.shopify.com) always going to have the same markup? Or is that also based on the theme?

0 Likes