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.

  1. In the Yoast SEO app, go to Optimize


  2. Under Products, select your product

  3. In the Yoast SEO sidebar, open the Schema tab

    Here you can find your schema output.

  4. 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.

  5. Click Update to grant Yoast SEO access


  6. Return to your product editor and open the Schema tab

  7. Click Edit with Shopify

    You’ll go to the Shopify editor.

  8. Select the Category of your product

    The schema output depends on the category metafields associated with your product.

  9. 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.

  10. Click Save to save your changes


  11. In the top right corner, click More actions to return to Optimize in Yoast SEO


  12. Check if your schema output is correct

    If the information is not correct, return to the Shopify editor to change your category metafields.

  13. You’ve now enabled the product variant schema in your Shopify store

Did this article answer your question?

Thanks for your feedback!

Related articles

Get free SEO tips!