Jump to content

Données structurées et champ price manquant


Recommended Posts

Bonjour,

Je constate que les données structurées de nos pages produits ne s'affichent en totalité sur Google.

Aucune "erreur" sur l'outil de test.
https://search.google.com/structured-data/testing-tool

En revanche, aucun champ prix/price n'est visible.

Les prix ne ressortent pas (plus?) sur Google, seulement les avis.
Le fichier product.tpl du theme semble pourtant correct sur cette information:
 

<p class="our_price_display" itemprop="offers" itemscope itemtype="https://schema.org/Offer">{strip}


							{if $product->quantity > 0}<link itemprop="availability" href="https://schema.org/InStock"/>{/if}
							{if $priceDisplay >= 0 && $priceDisplay <= 2}
								<span id="our_price_display" class="price" itemprop="price" content="{$productPrice}">{convertPrice price=$productPrice|floatval}</span>
								{if $tax_enabled  && ((isset($display_tax_label) && $display_tax_label == 1) || !isset($display_tax_label))}
									{if $priceDisplay == 1} {l s='tax excl.'}{else} {l s='tax incl.'}{/if}
								{/if}
								<meta itemprop="priceCurrency" content="{$currency->iso_code}" />
								{hook h="displayProductPriceBlock" product=$product type="price"}
							{/if}
						{/strip}</p>

Avez-vous une idée ?
Merci !

Edited by Stick-IN (see edit history)

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