Search code examples
amp-html

Using AMP-HTML on ecommerce product


We are still getting error on Google Search Console about AMP: AMP validating: Missing required structured data element on this amp page.

With validator (https://validator.ampproject.org) we got Validation Status: PASS

We are using meta data and google structured data testing tools shows no errors and no warings.

This is one example url: (Don´t want to spam so additional space written to avoid linking)

https:// www. alpel.es/cosmo-nails-liquido-porcelana-uv-50-ml_amp

Thank you!


Solution

  • I think you need to check the Structure Data policies for this:

    Multiple entities on the same page

    When you have multiple entity types on a page, we recommend you mark up all entities on that page to help Google algorithms better understand and index your content. For example:

    A recipe page might have text describing the recipe along with an accompanying video. Each of these types should be marked separately with schema.org/Recipe and schema.org/VideoObject respectively. A category page listing several different products (or recipes, videos, or any other type). Each entity should be marked up using the relevant schema.org type, such as schema.org/Product for product category pages. Marking up just one category entity from all listed on the page is against our guidelines. A video play page might have related videos embedded in a separate section on the page. In this case, mark up the main video as well as the related videos. Image markup guidelines

    When marking up an image URL as a property of a type, make sure that the image actually belongs to the instance of that type. For example, if you mark up the schema.org/image property of schema.org/NewsArticle, the marked-up image must directly belong to that news article.

    You may also check the Product Guidelines.

    This SO thread and this discussion might help as well.