enriquegm Posted March 31, 2015 Share Posted March 31, 2015 (edited) Hi, I'm getting crazy with that, I hope someone can help me. When I browse http://cuidatuacuario.com/plantas-naturales/114-echinodorus-ozelot.html I can see in price 3.5€ (the price with TAX) however if you check https://developers.google.com/webmasters/structured-data/testing-tool?url=http%253A%252F%252Fcuidatuacuario.com%252Fplantas-naturales%252F114-echinodorus-ozelot.html to validate microdata you get 3.18 € (the price without TAX) Someone knows why? I've changed in product.tpl - $productPrice - $product->getPrice(true, $smarty.const.NULL, $priceDisplayPrecision - $priceDisplay And nothing works... I think that could be the specific browser but I dunno Anyone can help me please? Thanks a lot PD: sorry for my english isn't my natural language Edited March 31, 2015 by enriquegm (see edit history) Link to comment Share on other sites More sharing options...
enriquegm Posted March 31, 2015 Author Share Posted March 31, 2015 (edited) By the way I added this "meta test" in code for debug <div class="price"> <p class="our_price_display" itemprop="offers" itemscope itemtype="http://schema.org/Offer"> {if $product->quantity > 0}<link itemprop="availability" href="http://schema.org/InStock"/>{/if} {if $priceDisplay >= 0 && $priceDisplay <= 2} <span id="our_price_display" itemprop="price">{convertPrice price=$productPrice}</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 test_var="{$productPrice}"/> <meta test_call="{$product->getPrice(true, $smarty.const.NULL, $priceDisplayPrecision)}"/> <meta test_display="{$priceDisplay}"/> <meta itemprop="priceCurrency" content="{$currency->iso_code}" />{hook h="displayProductPriceBlock" product=$product type="price"}{/if} Edited March 31, 2015 by enriquegm (see edit history) 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