Techno Smarter QA

79 views • Asked 04 Nov • in Tech
0

We run a small Shopify store and want our product pages to show FAQ rich results in Google. Each product already has 4 to 5 questions and answers written in the description.

What I tried: adding a JSON-LD script with @type FAQPage inside the product template (main-product.liquid). The Rich Results Test sometimes shows "Duplicate field FAQPage" because the theme or an app already outputs Product schema.

Questions:
1. Is it better to put FAQPage JSON-LD in a separate snippet, or merge it with the existing Product schema?
2. Should the FAQ content come from product metafields instead of the description so it stays in sync?
3. Does Google still show FAQ rich results for e-commerce sites, or is it worth doing only for crawlers and AI search?

User vetropower (120 Points)

1 Answer
0
webglobalrankers (100 Points)

answered 14 Nov

The safest way to add FAQPage schema to a Shopify product page is by using JSON-LD structured data within your product template. You can do this without changing the existing theme design or affecting other website functionality.

Follow these steps:

1. Duplicate Your Shopify Theme

Before making any code changes, go to Shopify Admin → Online Store → Themes and duplicate your current theme. This gives you a backup if anything goes wrong.

2. Check Existing Schema

Open your product page and inspect its source code. Search for FAQPage and application/ld+json to check whether your theme or any installed SEO app already generates FAQ schema. Avoid adding duplicate markup.

3. Add FAQ Schema Using Liquid

For product-specific FAQs, you can use Shopify product metafields or metaobjects to store questions and answers. Then add a JSON-LD script to the relevant product section, such as main-product.liquid.

Here is a basic example:

<script type="application/ld+json"> { "@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [ { "@type": "Question", "name": "What is the product warranty?", "acceptedAnswer": { "@type": "Answer", "text": "The product includes a one-year warranty." } }, { "@type": "Question", "name": "How can I place an order?", "acceptedAnswer": { "@type": "Answer", "text": "You can place an order directly through our online store." } } ] } </script>

Replace these sample questions and answers with the actual FAQs displayed on your product page.

4. Keep the Schema Consistent

Make sure every question and answer included in the JSON-LD markup is also visible to visitors on the product page. For multiple products, use product-specific metafields or metaobjects rather than displaying identical FAQs everywhere.

5. Test Before Publishing

After adding the code, preview your duplicated theme and check the page source. Use the Schema Markup Validator (https://validator.schema.org/) to identify JSON-LD errors. Also check that the product page layout, FAQ accordion, and other theme features are working correctly.

Important SEO Tip: Google discontinued FAQ rich results in May 2026, so FAQPage markup should not be added with the expectation of getting expandable FAQ listings in Google Search. However, maintaining accurate structured data and useful, visible FAQs can still help organize product information.

My recommendation is to use a separate Liquid snippet or section for FAQ schema instead of adding unnecessary code to theme.liquid. This keeps the implementation organized, easier to maintain, and less likely to interfere with your existing Shopify theme.


Your Answer
×
Login Required

You must login to continue.

Login Login with Google
Register