Jump to content

json rich snippet category page


mcluca_1982

Recommended Posts

Hi,
i try to add product schema markup in prestashop 1.6 category page like this:

{foreach from=$products item=product name=products}
                <script type="application/ld+json">
                    {
                    "@context": "http://schema.org/",
                    "@type": "Product",
                    "name": "{$product->name|escape:'html':'UTF-8'}"
                    }
                </script>
                {/foreach }

but google tool for rich snippet give me error.

Thanks

Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...