Liquid, JavaScript, themes, sales channels
Hello,
I am using Brooklyn theme,
When I navigate to a products page: https://www.site.com/collections/xxxxxx/products/my-product-name,
Then inspect the HTML and search for "json+oembed",
The URL that is generated inside this header tag is https://www.site.com/products/my-product-name.oembed
<link rel="alternate" type="application/json+oembed" href="https://www.site.com/products/my-product-name.oembed">
What I would like is for this URL to reflect the actual page URL: https://www.site.com/collections/xxxxxx/products/my-product-name
Am unable to find this logic in .liquids files anywhere
Thanks
Have solved it
Hi Triusis. Can you explain what you did to resolve this? I'm interested in learning where the json+oembed URL is injected into the head by Shopify and how we can change this.
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024