soufiane011 Posted February 24, 2015 Share Posted February 24, 2015 Hi,Please, i need your help in order to fix probleme about microdata product on my website. I have just launched my website and I found a problem with seo microdata, you find attached a screenshot that explains the problem tested with : https://developers.google.com/structured-data/testing-tool/ Note: My url address of my site is already included in the image above.Thank you Link to comment Share on other sites More sharing options...
soufiane011 Posted March 20, 2015 Author Share Posted March 20, 2015 Hi, I found solution and i added many microdata. add this code to your theme/product-list.tpl {* add by sbahjaoui*} <span itemprop="price" class="price product-price "> {if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if} </span> {if isset($product.show_price) && $product.show_price && !isset($restricted_country_mode)} <meta itemprop="price" content="{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}" /> {/if} {* End sbahjaoui*} or you can download the file directly product-list.zip Link to comment Share on other sites More sharing options...
raunok Posted May 22, 2015 Share Posted May 22, 2015 Hi! Just to make sure, i dont have to replace any code in this document. I can just add this code to the end of the file? The thing is, that when i add this code to the product-list.tpl and use https://developers.google.com/structured-data/testing-tool/Then after that it loses all the errors, but when i clear cache and then use the google data testing tool, then all the errors come back. Link to comment Share on other sites More sharing options...
selectshop.at Posted May 26, 2015 Share Posted May 26, 2015 (edited) Please find here the tutorial for how to implement Google rich snipets (the code named on topic #'2 is incomplete). Make sure you are changing the product.tpl of the theme in use !!! if your are using an extra theme and not the native one (tutorial is also valid for PS 1.6.) http://nemops.com/prestashop-google-rich-snippets Here you can discuss problems with the tutorial I've linked: https://www.prestashop.com/forums/topic/212081-free-tutorial-add-google-rich-snippets-to-your-prestashop-store Edited May 26, 2015 by selectshop.at (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