Add product variant name in URL

ThomasHg8866
Excursionist
27 2 0

Hello,

I would like to display the name of the selected variant of my product on its URL page.

Capture d’écran 2021-05-05 à 14.22.10.png

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.

0 Likes
Trevor
Community Moderator
Community Moderator
2442 284 497

@ThomasHg8866 

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

0 Likes
ThomasHg8866
Excursionist
27 2 0

I need it for a best referencing to Google Shopping

0 Likes
Trevor
Community Moderator
Community Moderator
2442 284 497

@ThomasHg8866 

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

0 Likes