optionsmegastore Posted October 6, 2022 Share Posted October 6, 2022 hello all, as i know, that google changed some guidelines today and turned to have this critical issue that i m not being able to figure out how to fix. i am using prestashop 1.6.0 and i m afraid this will affect my rating on google. anyone have any clue how to fix that? i would really really appreciate it, thank you in advance please find attached the error. and whats exactly causing it. thank you Link to comment Share on other sites More sharing options...
markosoft Posted March 4, 2023 Share Posted March 4, 2023 Same problem here. :/ Link to comment Share on other sites More sharing options...
ender666 Posted May 14, 2023 Share Posted May 14, 2023 same problem.. anyone solved this? Link to comment Share on other sites More sharing options...
El Patron Posted May 21, 2023 Share Posted May 21, 2023 On 5/14/2023 at 11:42 AM, ender666 said: same problem.. anyone solved this? https://support.google.com/webmasters/thread/182098717/invalid-floating-point-number-in-property-price-and-price-currency?hl=en Link to comment Share on other sites More sharing options...
ricardomyra Posted August 26, 2023 Share Posted August 26, 2023 Hi! You need to change 2 files of your theme (product.tpl and product-list.tpl) In product-list.tpl look for this piece of code (In my case it was on line 74): <span itemprop="price" class="price product-price"> {if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if} </span> <meta itemprop="priceCurrency" content="{$currency->iso_code}" /> and change it to this: <span class="price product-price"> {if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if} </span> <meta itemprop="price" content="{$product.price}" /> <meta itemprop="priceCurrency" content="{$currency->iso_code}" /> In product.tpl look for this piece of code (in my case it was on line 251): <span id="our_price_display" class="price" 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 itemprop="priceCurrency" content="{$currency->iso_code}" /> and change it to this: <span id="our_price_display" class="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 itemprop="price" content="{$productPrice}" /> <meta itemprop="priceCurrency" content="{$currency->iso_code}" /> PS: I use version 1.6.1.4 of Prestashop 1 1 Link to comment Share on other sites More sharing options...
High Wave Posted February 8 Share Posted February 8 On 8/26/2023 at 5:49 PM, ricardomyra said: Hi! You need to change 2 files of your theme (product.tpl and product-list.tpl) In product-list.tpl look for this piece of code (In my case it was on line 74): <span itemprop="price" class="price product-price"> {if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if} </span> <meta itemprop="priceCurrency" content="{$currency->iso_code}" /> and change it to this: <span class="price product-price"> {if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if} </span> <meta itemprop="price" content="{$product.price}" /> <meta itemprop="priceCurrency" content="{$currency->iso_code}" /> In product.tpl look for this piece of code (in my case it was on line 251): <span id="our_price_display" class="price" 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 itemprop="priceCurrency" content="{$currency->iso_code}" /> and change it to this: <span id="our_price_display" class="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 itemprop="price" content="{$productPrice}" /> <meta itemprop="priceCurrency" content="{$currency->iso_code}" /> PS: I use version 1.6.1.4 of Prestashop Hello, I'm using 1.7.8.11 and as a newbie I found several product.tpl files in different folders even in a theme in use. in which folders these should be? 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