@rthur Posted August 23, 2019 Share Posted August 23, 2019 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now