This is an update for all the people like me out there is Spark Pay land that are having issues with Rich Data Snippets for Google. Since Google as I am told by Google is getting stricter at enforcing the correct layout of the Schema.org MicroData I thought I would post this to save everyone else the headaches that I have just been through for the past two weeks. And just so you know – if your product data is not showing correctly in your Google Merchant Center it can and will affect the serving of your ads on Google Shopping. And as an extra added bonus (that only Google could give us) don’t trust the Google Markup Tester as Google themselves told me it is not catching the new requirements that they are enforcing – so if it says All Good there’s a strong chance it’s not.
So here is the beginners guide to fixing the data yourself.
So let’s go to Themes-> Click on the “Edit” button of your active theme -> Expand the “Pages” and look for your Product Detail Page – Click on it and then click on HTML Editor.
(This is always a good point to copy the entire page and save it in a note pad file like I do…just in case of an oops)
The data you will need to look at and edit should be contained in a couple of different sections of your product detail page let’s call them “Snippet Areas”. The first Snippet Area should be placed or found about ¼ the way down the page after all the styling and usually after this:
This is where you can find the first part of the Product Snippet Area and it will look like this or cut and paste this in:
<!-- BEGIN Schema.org Product Rich Snippet Markup -->
<div itemscope="" itemtype="http://schema.org/Product">
<meta itemprop="category" content="##CATNAME##">
<meta itemprop="mpn" content="##MFGPARTNUMBER##">
<meta itemprop="name" content="##PRODUCTNAME##">
The merge codes work for all of us on the Spark Pay platform just the same. As you can tell this deals with the category, manufacturer, part number and the product name.
You don’t want to get into GTIN (UPC numbers if you don’t have to) as there are certain specifications for 8, 12 or 14 digit UPC’s so let’s avoid those if you can.
Next section is your Price “Snippet Area” This is where you will declare the currency, price, availability and condition of the product.
Look for this:
Below this area is generally where all the pricing for the product goes depending on your theme or style but I believe they are all about the same. Then you are going to need to add the following, cut this, paste this or if you have it edit this, so it looks like this:
<div id="dvProductPricing" class="ProductDetailsPricing" itemprop="offers" itemscope="" itemtype="http://schema.org/Offer">
<meta itemprop="seller" content="##STORENAME##">
<link itemprop="availability" href="http://schema.org/InStock">
<meta itemprop="priceCurrency" content="USD">
<meta itemprop="price" content="##RAWPRICE##">
We all know the merge codes so we can pretty much tell just from looking at this what this is. The only fields that are total unique are the schema.org/offer….InStock….NewCondition.
But I believe you should be able to cut and paste this into the section and be good to go.
You can also add reviews to your Schema.org Snippet Area. However, they get a bit more complicated of how and where to place them. I am sure one of the Spark Pay Guru’s could assist you but it’s not something I feel comfortable trying to explain, nor do I believe it is really required by Google and/or Schema.org to display them. It’s not required in order to do the Automatic Item Updates on Price and Availability in Google Merchant Center (for your Google PLA’s) which is what this post is about in the first place. But it’s good to have regardless so you might want to investigate it.
Now after almost 2 weeks my Merchant Account Center has finally accepted Automatic item updates for both Price and Availability so I KNOW this formula up above works!!!!!
Hope this helps someone!!!
Paul - TheCandylandStore.com
Please sign in to leave a comment.