*

Tango

  • ****
  • 214 posts
Item Reviews Microdata Issue
« on: September 09, 2022, 04:31:14 PM »
Please note that the Item Microdata returns wrong results for ratingCount and reviewCount.

- Enable Microdata
- Listing: https://demo.osclasspoint.com/for-sale/electronics/new-iphone-xs-2019_i10
- Result:


As you can see, the listing has 0 comments/reviews, but the microdata returns 1.

Core setup: <?php echo (osc_count_item_comments() > 0 ? osc_count_item_comments() : 1); ?>
Osclass 8.0.2

Thanks!

*

MB Themes

Re: Item Reviews Microdata Issue
« Reply #1 on: September 09, 2022, 10:37:19 PM »
Putting 0 there most probably result in error from google.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots