I was experimenting with the iframe function when I came across it from another post with regard to a similar purpose that I had in mind.
The code in the solution looks something like this.
The context of my problem is that I have a shopify online store website I mainly use as a catalog to sell trading cards to local players. There is this 3rd party website which everyone goes to for fair market value pricing on all the cards. I wish to embed on my own product page a string of text from this 3rd party website that states something along the lines of “1 Listing As low as $9.99 + $9.99 shipping”. So that if the fair market pricing has dropped below the price I had on my product when I first created it. The shoppers who sees this info can message me in chat and so maybe I can price match it on individual cases.
ps I experimented with the above iframe code and it works when the url ends with .jpg but not when the url ends with .com for example. I read that it could be because the third party does not allow embedding or it could be because I did something wrong technically.
If the url ends with jpg, then you’re only embedding an image. Unless the site the image is coming from blocks cross site embedded you can just add it directly.
eg:
Seeing an example url of what you’re trying to use would help.
I’m trying to embed not the image but a string of text from the website.
"16 Listings
As low as $2.63 + $1.99 shipping"
This string of text comes from the website below as an example.
The numbers shown in that text may be different by the time you look at the link.
In fact it is why I wanted to embed this dynamic info to show on my website so that people looking at my product can have an idea of what the fair market price of the product is at the moment.
If I can successfully embed this content onto my own product page then ideally every time the shopper refreshes the page they can see the most up to date info instead of my having to periodically update my product pricing manually.