Liquid, JavaScript, themes, sales channels
Hello,
I would like to display the name of the selected variant of my product on its URL page.
for example, the selected variant is iPhone 7 Plus / iPhone 8 Plus and I would like to display it in the URL of the page after the variant id.
Adding the variant name to the URL when selected would not be possible. Only the variant ID will appear along with the title of the parent product.
May I ask why you're wanting to add the name to the URL?
Trevor | Community Moderator @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
I need it for a best referencing to Google Shopping
Could you clarify that for me? I'm not sure I know what you're referencing.
Trevor | Community Moderator @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024