Jump to content

Edit History

PauseGreen

PauseGreen

Je ne sais même pas si c'est ce code qui est mauvais ou si je dois faire des changements sur un autre fichier.

    <div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating" style="display:none">
    <span itemprop="ratingValue">5</span> 
    <span itemprop="ratingCount">1</span>                                                      </div>
    <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="review" 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>

car tout les itemprop on l'air bon !

PauseGreen

PauseGreen

Je ne sais même pas si ce code qui est mauvais ou si je dois faire des changements sur un autre fichier.

    <div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating" style="display:none">
    <span itemprop="ratingValue">5</span> 
    <span itemprop="ratingCount">1</span>                                                      </div>
    <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="review" 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>

car tout les itemprop on l'air bon !

×
×
  • Create New...