Google Rich Snippets and Easy Digital Downloads
-
One more bug I found.
For each post I have a rating bar and 3 Easy Digital Downloads purchase buttons.
With Enable Google Rich Snippets? enabled it messes up the structured data of Easy Digital Downloads purchase buttons, so if you have 10 posts on a page with a purchase button and a rating bar in each post, W3 Validator will throw hundreds of errors.
For example with Google Rich Snippets disabled the 3 purchase buttons I have for a post will output:
<span itemprop="offers" itemscope itemtype="https://schema.org/Offer"> <meta itemprop="price" content="24.99" /> <meta itemprop="priceCurrency" content="USD" /> </span> <span itemprop="offers" itemscope itemtype="https://schema.org/Offer"> <meta itemprop="price" content="54.99" /> <meta itemprop="priceCurrency" content="USD" /> </span> <span itemprop="offers" itemscope itemtype="https://schema.org/Offer"> <meta itemprop="price" content="99.99" /> <meta itemprop="priceCurrency" content="USD" /> </span>
Which throws no errors. Enable Google Rich Snippets and those purchase buttons turn into:
<meta itemprop="headline" content="Drown (w/ Hook)" /><meta itemprop="description" content=" BUY A LICENSE Purchase "Drown (w/ Hook)" $24.99 Basic License $54.99 Premium License $99.99 Unlimited License $19.99 Add-on Track Separation Continue Shopping with hook" />
It’s like WP-PostRatings is stripping all of Easy Digital Downloads’ structured data and labeling the purchase buttons as the content. I know you don’t really support this plugin much anymore so not sure if you want to deal with this or not. I can e-mail you my test website link if you want to check it out.
- The topic ‘Google Rich Snippets and Easy Digital Downloads’ is closed to new replies.