Product snippets Hikashop 6.4.0

  • Posts: 435
  • Thank you received: 19
  • Hikashop Business
1 week 2 days ago #370814

Hi Nicolas,
With HikaShop 6.4.0, Google Search Console is reporting errors in Product snippets.
I’m attaching a screenshot with an example URL.
Do you know what this could be related to?

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 85323
  • Thank you received: 13937
  • MODERATOR
1 week 1 day ago #370816

Hi,

The issue is that on your related products listing module, each product was marked with schema.org/Product structured data. Google expects Product items to have an offers property (with a price). Products that have no price (like "Carpetas y cajas para cocas" and "Cajas microcanal para envios"), or at least none shown on the listing were flagged as having a critical error because they had no offers.

We have fixed this. The listing templates now use schema.org/ListItem instead of schema.org/Product for items within the category listing. The full Product structured data (with prices, availability, reviews, etc.) is only output via JSON-LD on individual product pages where all required fields are present.

The fix is available in the latest 6.4.0 package. You can download it from your member area and install it over your current version. After updating, you can re-run the Google Rich Results test and the errors should be gone. Note that it may take some time for Google to re-crawl your pages and clear the errors from Search Console.

Please Log in or Create an account to join the conversation.

  • Posts: 435
  • Thank you received: 19
  • Hikashop Business
1 week 1 day ago #370817

Hi Nicolas,

Thank you very much for your work.

If you don’t mind, I’d like to mention something else I noticed after enabling the full breadcrumb. My HikaShop URL configuration is:

Category URL: /catalogo/

Product URL: /comprar/

When I open a product URL, the breadcrumb displays correctly: Home / Category / Product.

However, if I click the category link in the breadcrumb to go back to the category page, the generated URL does not include the /catalogo/ (category).

Since I’m not sure if this is expected behavior, for now I’ve added 301 redirects from those category URLs to the correct category URL, because otherwise we risk Google seeing duplicate URLs such as:

home.xxx/name-category

home.xxx/catalogo/name-category

I hope I explained it clearly.

Please Log in or Create an account to join the conversation.

  • Posts: 435
  • Thank you received: 19
  • Hikashop Business
1 week 1 day ago #370825

Hello again Nicolas.
I have requested reindexing of several urls after the patch you mentioned.
Google has addressed them, but these product snippet errors have not been corrected.

Please Log in or Create an account to join the conversation.

  • Posts: 85323
  • Thank you received: 13937
  • MODERATOR
1 week 1 day ago #370830

Hi,

1. Product snippets

The remaining errors are caused by the carousel templates (used for related products, cross-sell modules, etc.) which still had `schema.org/Product` markup on each item. We had fixed the category listing templates but missed the carousels. This has now been fixed as well. Please download the updated 6.4.0 package from your member area and reinstall.

After that, you can verify the fix immediately by testing your pages with Google's Rich Results Test at search.google.com/test/rich-results (use the "Test URL" option). The Search Console errors will clear once Google recrawls the affected pages, which can take a few days to a few weeks.

2. Breadcrumb category URLs

The breadcrumb on the product page was building category links using the product menu item (e.g. `/comprar/`). Since the Joomla SEF router needs a matching view to generate the correct URL, using a product menu item for a category listing URL resulted in URLs without the proper prefix (e.g. `/cajas-para-tartas` instead of `/catalogo/cajas-para-tartas`).

The fix now looks up the most appropriate category listing menu item for the breadcrumb links. It checks all your category listing menu items and selects the one whose configured root category is the closest ancestor of the product's category. This way, if you have `/catalogo/` pointing to your main product categories and another menu for a different section, the breadcrumb will use the correct one.

This fix is also included in the updated package.

Please Log in or Create an account to join the conversation.

  • Posts: 435
  • Thank you received: 19
  • Hikashop Business
1 week 18 hours ago #370844

Hi Nicolas.
I have done the rich results test with the Url: www.hermanosgaliano.es/comprar/papel-secamanos
Something "new" appears that I had not seen before.
2 invalid carousels have been detected.
I'll give you a screenshot.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 85323
  • Thank you received: 13937
  • MODERATOR
1 week 15 hours ago #370851

Hi,

Thank you for the screenshot showing the details. The "Carousels" error was caused by the ListItem elements in the product listing and carousel templates missing the required position property. Google requires each ListItem in an ItemList to have a position number.

We've added the missing position property to all listing and carousel templates. Please download the updated 6.4.0 package and reinstall. After that, test the page again with Google's Rich Results Test to confirm the errors are resolved.

Please Log in or Create an account to join the conversation.

  • Posts: 435
  • Thank you received: 19
  • Hikashop Business
1 week 15 hours ago #370855

HI Nicolas.
I have reinstalled Hikashop 6.4.0.
I have deleted caches (joomla and siteground) and tested in an incognito window.
The result is the same as the previous one.
I'll give you a screenshot.
If you need anything else, let me know.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 85323
  • Thank you received: 13937
  • MODERATOR
1 week 10 hours ago #370857

Hi,

I've checked your page source and the HTML is clean. There is no inline microdata outside of the JSON-LD script tags. This strongly suggests the issue comes from a view override in your Joomla template that is using the old code.

To confirm, could you please try this quick test:

1. Go to your server via FTP or file manager
2. Navigate to templates/<your_template>/html/com_hikashop/
3. Rename the product folder to product_backup
4. Clear your Joomla cache
5. Run the Rich Results test again on the same URL

If the carousel errors disappear, then the issue is confirmed to be in one of your view overrides. You can then either delete the overrides you don't need, or update them to match the current 6.4.0 versions via Display > Views.

After testing, you can rename product_backup back to product to restore your customizations.

Please Log in or Create an account to join the conversation.

  • Posts: 435
  • Thank you received: 19
  • Hikashop Business
1 week 9 hours ago #370862

Hi Nicolas
It hasn't worked.
I have renamed the product file to product_backup.
I have deleted cache and in hidden I have done the test and the same error has appeared again.
In screen - views I only have a modified file, of which I will send you a screenshot for your verification.
Since it didn't work, he renamed the product_backup file to product.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 85323
  • Thank you received: 13937
  • MODERATOR
1 week 6 hours ago #370864

Hi,

Thank you for your patience. We found the issue. The listing and carousel templates were outputting ItemList/ListItem structured data (which Google interprets as carousels) even when prices were not displayed on those modules. Google requires complete product information including offers/price for carousel rich results, so it flagged them as invalid.

We have updated the templates so that the ItemList structured data is only included when prices are shown. When prices are hidden, the microdata is omitted entirely, which prevents Google from detecting invalid carousels.

You can download the latest update from your member area and install it over your current version. After installing, clear your site cache and re-test the page with Google's Rich Results Test to confirm the carousel errors are gone.

Let us know if that resolves it.
Note that as explained before, if you have overrides, you might not see the changes...

Please Log in or Create an account to join the conversation.

  • Posts: 435
  • Thank you received: 19
  • Hikashop Business
1 week 3 hours ago #370869

Hi Nicolas.
It works ok.
Thanks so much!!

The following user(s) said Thank You: nicolas

Please Log in or Create an account to join the conversation.

Time to create page: 0.079 seconds
Powered by Kunena Forum