Jump to content
@rthur

Problème de données structurées

Recommended Posts

Bonjour,

Je suis sous prestashop 1.7.5. J'ai trouvé un tuto pour ajouter ce code dans ma page product-price.tpl. Seulement j'aimerais aussi ajouter le prix que google ne reconnais pas mais je ne sais pas comment l'insérer. 

        <link itemprop="availability" href="{$product.seo_availability}"/>
        <meta itemprop="priceCurrency" content="{$currency.iso_code}">
        <meta itemprop="priceValidUntil" content="{'Y'|date+1}-12-31">
        <meta itemprop="url" content="{$link->getProductLink($smarty.get.id_product)|escape:'htmlall':'UTF-8'}"> 

    <meta itemprop="brand" content="{if !empty(Manufacturer::getnamebyid($product.id_manufacturer))}{Manufacturer::getnamebyid($product.id_manufacturer)}{else}{Configuration::get('PS_SHOP_NAME')}{/if}"> 
    <meta itemprop="image" content="{$product.cover.bySize.home_default.url}">     
    <meta itemprop="sku" content="{$product->id}" /> 
    <meta itemprop="mpn" content="{$product->reference}" /> 
    <div itemprop="review" itemscope itemtype="http://schema.org/Review" style="display:none">
        <span itemprop="author">{Configuration::get('PS_SHOP_NAME')}</span>,
        <meta itemprop="datePublished" content="{'Y'|date}-{'m'|date}-{'d'|date}">
        <div itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating">
            <meta itemprop="worstRating" content="1"/>
            <span itemprop="ratingValue">5</span>/
            <span itemprop="bestRating">5</span>
        </div>
        <span itemprop="description"></span>
    </div>

Auriez-vous une idée? 

 

Merci

Capture d’écran 2019-08-23 à 16.06.28.png

Share this post


Link to post
Share on other sites

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

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More