Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Errors with Google structured data

Home / Forums / Virtue Theme / Errors with Google structured data

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
June 8, 2015 at 10:47 am

Hello, guys,
I think this is a bad error ’cause most of the time this theme is used on business purposes – so with me.

When checking my products with Google Structured Data I still get errors on product elements such as price and availability.

Google says that this wrong:

<div class="price ">
<span class="amount">0,99&nbsp;&euro;</span>
<meta itemprop="price" content="0.99" />
<meta itemprop="priceCurrency" content="EUR" />
<link itemprop="availability" href=" /

Read this on handling the error:

It should be more like this:
<div class="price" itemprop="offers" itemscope="" itemtype="
<span class="amount">0,99&nbsp;&euro;</span>
<meta itemprop="price" content="0.99" />
<meta itemprop="priceCurrency" content="EUR" />
<link itemprop="availability" href=" />

Spot the difference? It’s the first line. There is stuff missing.
Now Google does not complain and the site looks still the same.

I can see that there is a file that should do this:
wp-contentthemesvirtue_premiumwoocommercesingle-productprice.php

But somehow this file is never called – at least not with my newest version of the theme. When searching for “price.php” there is no include nor require with this file.

But of course I may still be wrong. If so than please correct me.

Juergen

  • The forum ‘Virtue Theme’ is closed to new topics and replies.