Shopify themes, liquid, logos, and UX
Hi I'm very new to developing a Shopify site, I'd like to embed a leaderboard of scores that I have developed on elastic beanstalk and externally rendered as an HTML table.
URL: http://protopadsix.us-east-1.elasticbeanstalk.com/scores-html
Is there anyway in which I can embed this into a custom .liquid page?
I've tried using fetch() or iframe but with no luck, any help very much appreciated and I apologise in advance if I've not provided enough detail to answer.
Solved! Go to the solution
This is an accepted solution.
I guess, the only way is to create a secure https version of your beanstalk page.
Yeah the table is intended to be updated dynamically, problem is each time I attempt to add an iframe it seems to be blocked when previewing the page, on the beanstalk end, I've made the URL public and my security group allows http, https, shh traffic. Thanks for your response.
I edited the custom.liquid code and found that the referenced URL crosses domains. Are you also experiencing this issue?
<iframe
allowtransparency="true"
frameborder="0"
id="gnewtonIframe"
scrolling="no"
src="http://protopadsix.us-east-1.elasticbeanstalk.com/scores-html"
width="100%"
style="overflow: hidden; height: 585px;"
></iframe>
Thanks for taking the time, yeah this appears to be similar to the issue I am experiencing.
That's because you're including HTTP resource in HTTPS document which is a no-no.
Understood, what would be the best way to resolve this? thanks
This is an accepted solution.
I guess, the only way is to create a secure https version of your beanstalk page.
Dude you're an absolute genius, after 20 hours of trial and error it worked!! thanks, iframe worked perfect once beanstalk was https secured with a custom SSL certified subdomain, very very happy
Hey There,
You can also try to embed your leaderboard directly into your store using the link (or make it look like a card) using EmbedAny app. Let me know if that works easily without using liquid,
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024