How to use product variant schema in Yoast SEO for Shopify
Want to highlight all the available options for your products? With Yoast SEO for Shopify, you can leverage the Shopify category metafields so that all the relevant details for your products will appear in Google search results. In this article, we’ll explain how you can enable your product variant schema and where you can fill in the details for your products.
How to enable product variant schema in Yoast SEO for Shopify
Do you want to enable the product variant schema for your products in Yoast SEO for Shopify? Follow the instructions below.
- In the Yoast SEO app, go to Optimize
- Under Products, select your product
- In the Yoast SEO sidebar, open the Schema tab
Here you can find your schema output.
- Click update your data access settings
This will allow Yoast SEO to access your Shopify settings. If you don’t see this request, continue to step 7.
- Click Update to grant Yoast SEO access
- Return to your product editor and open the Schema tab
- Click Edit with Shopify
You’ll go to the Shopify editor.
- Select the Category of your product
The schema output depends on the category metafields associated with your product.
- Fill in the metafields and/or add Variants
You can now change the information for your product. The Shopify Help Center offers more information on category metafields and variants.
- Click Save to save your changes
- In the top right corner, click More actions to return to Optimize in Yoast SEO
- Check if your schema output is correct
If the information is not correct, return to the Shopify editor to change your category metafields.
- You’ve now enabled the product variant schema in your Shopify store