This topic has 4 replies, 2 voices, and was last updated 8 months, 2 weeks ago ago by Rose Tyler
Hello. Can variations have their own url slugs?
For example i am on product archive, there is three colors : green (default) , white, red. On archive i check red, then go product page and I see default green color, not the red I selected.
Another scenario : on product page I select white and want to share the link to friend, when I send him he goes to default green, not the white variation I wanted to show.
MOST IMPORTANT : Google needs to index all these variations, it doesn’t understand otherwise, and it’s closely related to structured data as swatch happens without page reload, so all products SEO is doomed.
https://developers.google.com/search/docs/appearance/structured-data/product-variants
How Google understands URLs for product variants
A common consideration on ecommerce sites is how to structure URLs when a product is available in multiple sizes or colors. Each combination of product attributes is referred to as a product variant. To help Google understand your product variants, make sure that each variant can be identified by a separate URL. We recommend the following URL structures for variant URLs:
A path segment, such as /t-shirt/green
A query parameter, such as /t-shirt?color=green
UPDATE: search shows variations with query parameters ( when search has variation search on) though going from product archive no slug, switching on product page – no change too.
I searched for green color, it listed same product three times just with different sizes s,m,l , on search it does not show that.
Any guidance would be highly appreciated!
Hello, Eyagos,
Thank you for reaching out to us with your inquiry regarding URL slugs for product variations.
We understand the importance of having distinct URLs for each product variation to enhance user experience and to ensure that search engines like Google can index each variant accurately. This is indeed crucial for SEO and for sharing specific product variations with others.
Currently, our theme supports dynamic variations that update on the product page without a page reload https://gyazo.com/ca975143283b223a614ff3bb83d424bb , which means the URL does not change by default when a new variation is selected. However, we recognize the scenarios you’ve described and the need for a solution that aligns with Google’s guidelines for product variant URLs.
To address this, we suggest considering the implementation of URL query parameters or path segments for each variation. This would involve custom development to ensure that selecting a variation updates the URL accordingly and that these URLs are properly indexed by search engines.
We recommend consulting with a developer who can assist in customizing the theme to include this functionality. They can help create a system where each variation has its own URL that can be indexed by search engines and easily shared.
Regarding the search results showing variations with query parameters, this is a step in the right direction. However, it seems there is more work to be done to ensure consistency across all areas of the site, including the product archive.
We appreciate your detailed feedback and the links to Google’s documentation. We will take your suggestions into consideration for future updates to our theme. In the meantime, if you require immediate assistance with custom development, we recommend reaching out to a professional developer or our customization team via the appropriate button on your account page.
Also, we invite you to submit your requests to our team through the following page: https://www.8theme.com/taskboard/ If it receives enough votes from other customers, our development team will consider adding it in one of the upcoming updates.
Thank you for your cooperation and understanding.
Best Regards,
8Theme’s Team
The video you linked in the comment, is my attempt to show these url slugs according to variation. Custom js script in child theme files. Unfortunately when you paste that link into new tab it goes to default variation color so needs more tuning..
https://xstore.8theme.com/elementor/demos/electron01/product/beats-solo3-on-ear/
it does not generate slug parameter according to variation.
Okay, thank you. I will post to taskboard I hope it gets attention
Hello, Eyagos,
Thank you for bringing the matter to our attention. You are correct; variations are not appended to the URLs on our demo pages, such as https://xstore.8theme.com/elementor/demos/niche-market/product/artificial-showpiece-art/, as we have received feedback from other clients indicating that they are superfluous.
Currently, there is no immediate solution available. However, we have noted your requests on our task board at https://www.8theme.com/taskboard/, where they will be reviewed by our technical team. Other users will also have the opportunity to vote on these requests. Please be aware that this process can be lengthy.
If you require a more expedited solution, it would necessitate collaboration with our customization team. Upon your request, they can provide an estimate of the cost and timeframe for completing a custom task specifically for your website. Their email address is in the Private Content area.
We appreciate your understanding and are here to assist you further if needed.
Best Regards,
8Theme’s Team
You must be logged in to reply to this topic.Log in/Sign up