It is common to add a Google Sitemap to your WooCommerce shop. There are many WordPress plugins that will provide this functionality for you. However, be careful you do not expose more than you bargained for, because it can have disastrous consequences on your SEO rating.
If your shop uses variations – variable products with different prices depending on different attributes that can be selected – then the variations will be stored in a post type called “product_variations”. You would not normally see this post type, as there are no links to the edit pages for them, and no public URLs for them, but they are there.
What can happen is that the sitemap plugin can pick up all these variations and generate URLs for them all, passing the full list of URLs to any search engine that asks. The trouble is, all those URLs are 404 pages, they are presented as “page not found”, and that makes your shop look half dead to Google and other search engines.
The fix is to ensure “product_variations” is excluded from the list of post types that the sitemap plugin generates. The settings for this will be in the administration pages for the plugin.
In summary: don’t tell the world about your WooCommerce product variations through your sitemap generated by your sitemap or SEO plugin. Direct access to the variations data is supposed to be kept well away from the front end of your site.
Each variation page, even though a URL of its own, can still declare itself to Google to be a variation of the main product using a canonical URL element in the header. That should help SEO by showing search engines that you are not trying to spam them.