- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Marek
- Private: No
- Open Date: 08.10.19, 10:03
- Opened by: Karim BOUDALI
- Closed by: Marek
- Closed on: 21.10.19, 18:36
- Reason: Closed
- Comment: Glad to help!
Ticket #15814 - offers, review ou aggregateRating.
Hi Marek,
I have a lot of pages in error on micros data when I consult google webmasters tools.
How to correct on the theme and make the data appear: offers, review ou aggregateRating (and brand, image, sku) ?
Thank you
Karim
Comments
Please give me a link to a page with problems
yes :
https://search.google.com/structured-data/testing-tool?hl=fr#url=https%3A%2F%2Fwww.edehillerin.fr%2Ffr%2Fcasseroles%2F346-897-casserole-affinity-inox.html%23%2F172-choix_diametre_cm-14
thank you
Hi,
return of my hosting :
“Nous avons mis à jour votre module. Les étoiles et avis s’affichent bien sur vos pages produits, home et catégories (ci-joint captures d’écran).
En ce qui concerne les Rich Snippets : la version que vous aviez avant cette mise à jour n’intégrait pas les rich snippets. Ils sont maintenant effectifs sur votre fiche produits. Cependant il faudrait que vous corrigiez un élément de votre côté pour que le processus soit complet. L’outil de test de Google nous indique qu’il y a trop de balises Product sur vos fiches produits. Cela a pour effet de confondre Google. Il faudrait que vous enleviez la balise Product sur les produits présents dans la section “Dans la même gamme” ou que vous leur ajoutiez la balise itemprop=”isRelatedTo” avant “itemscope itemtype=”http://schema.org/Product“.”
“We’ve updated your module - stars and reviews are showing up well on your product, home and category pages (here are screenshots).
Regarding Rich Snippets: The version you had before this update did not include rich snippets. They are now effective on your product page. However, you should correct an element on your side so that the process is complete. Google’s test tool tells us that there are too many Product tags on your product listings. This has the effect of confusing Google. You should remove the Product tag from the products in the “In the same range” section or add the itemprop = “isRelatedTo” tag before “itemscope itemtype =” http://schema.org/Product “. “
I think I fix it !
this is OK :
https://search.google.com/structured-data/testing-tool?hl=fr#url=https%3A%2F%2Fwww.edehillerin.fr%2Ffr%2Fpoele-tout-usage%2F378-1080-poele-tout-inox-affinity.html%23%2F174-choix_diametre_cm-20
but this No, i don’t understand why ?
https://www.edehillerin.fr/fr/612-casseroles
https://www.edehillerin.fr/fr/612-casseroles link : https://search.google.com/structured-data/testing-tool?hl=fr#url=https%3A%2F%2Fwww.edehillerin.fr%2Ffr%2F612-casseroles
Here is the fixed file /httpdocs/themes/alysum/templates/catalog/_partials/miniatures/product.tpl but it doesn’t affect to front page. Maybe the path is wrong? try to copy that file to the correct path
That’s what I did, I copy the file in the path you specified. It works when you are on the product page.
But when you are on the list of products (of a category for example), it does not work, as you could see on my 2 test links.
<article class=”product-miniature js-product-miniature{if $product.quantity == 0} out-of-stock{/if}{if (isset($product.new) && $product.new == 1)} new{/if}{if (isset($product.bestseller) && ($product.bestseller == 1))} bestsellers{/if}{if (isset($product.featured) && $product.featured == 1)} featured{/if}{if (isset($product.reduction) && $product.reduction > 0)} discount{/if}{if isset($product.all_cats)} {$product.all_cats}{else}{if isset($product.category)} {$product.category}{/if}{/if}” data-id-product=”{$product.id_product}” data-id-product-attribute=”{$product.id_product_attribute}” itemprop=”isRelatedTo” itemscope itemtype=”http://schema.org/Product“>
The main problem for me to make a fix is that I make a change but don’t see it in the front page. What is the right path to the theme?
the path is always the same, you do not see because you have to clear the cache on prestashop performance.
I use the module “PAGE CACHE ULTIMATE”
that is perhaps why he does not see himself because he keeps the pages in cache.
But the path of the theme alysum is in the right place
what is the file you are talking about which you have to modify?
I need to edit this file: – /themes/alysum/templates/catalog/_partials/miniatures/product.tpl
I can edit it, but no changes in the front page, looks like a cache is enabled, or the path to the file is wrong
if you wish, send me the new corrected product.tpl file, I’ll put it back
i have a cache with the module page cache ultimate, if you want to see the modification :
Prestashop > Performance > vider le cache and clear cache your browser history
Here is it
in product.tpl : after i don’t understand why is quantity and not reference or id product :
you can add reference if you need
i upload your file, I emptied the cache and I have errors :
PRODUCT
https://search.google.com/structured-data/testing-tool?hl=fr#url=https%3A%2F%2Fwww.edehillerin.fr%2Ffr%2Fbassine-a-confiture%2F336-856-bassine-a-confiture-cuivre.html%23%2F180-choix_diametre_cm-36
LIST PRODUCT
https://search.google.com/structured-data/testing-tool?hl=fr#url=https%3A%2F%2Fwww.edehillerin.fr%2Ffr%2F129-cuisson-bassine
and please why i have you delete in your file this :
” itemprop=”isRelatedTo”
in
<article class=”product-miniature js-product-miniature{if $product.quantity == 0} out-of-stock{/if}{if (isset($product.new) && $product.new == 1)} new{/if}{if (isset($product.bestseller) && ($product.bestseller == 1))} bestsellers{/if}{if (isset($product.featured) && $product.featured == 1)} featured{/if}{if (isset($product.reduction) && $product.reduction > 0)} discount{/if}{if isset($product.all_cats)} {$product.all_cats}{else}{if isset($product.category)} {$product.category}{/if}{/if}” data-id-product=”{$product.id_product}” data-id-product-attribute=”{$product.id_product_attribute}” itemprop=”isRelatedTo” itemscope itemtype=”http://schema.org/Product“>
Hi Marek
I installed the module “Intégration complète de MICRODATA et OPEN GRAPH - SEO” and now I have no problem
link : https://addons.prestashop.com/fr/seo-referencement-naturel/42397-integration-complete-de-microdata-et-open-graph-seo.html
thank you
Karim
in the product page, price taxe includes and excludes not appear, please help :
https://www.edehillerin.fr/fr/casseroles/347-901-casserole-cuivre-etame-extra-fort-queue-bronze.html#/178-choix_diametre_cm-12
I deactivated the price module HT and TTC while waiting for me to find a solution.
thank you
I asked the developer of the module to solve the problem if I have a problem I come back to you.
thank you
Ok, waiting for you
hi marek
I am sorry but the developer is too long to answer and the site is in production, can you solve these 2 problems that you have already solved, thank you really!
1 - No price without VAT on the product sheet:
https://www.edehillerin.fr/fr/les-couvercles/365-1016-couvercle-pro-inox.html#/172-choix_diametre_cm-14
2- Problem displaying logs on the home page
1. We will try to find a solution as soon as possible
2. you are using third party module so you have to adjust it’s view to the theme
As I can see you already have the price without vat now, right? https://take.ms/3lL2O
Hi,
yes it’s ok
thank you.