Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Re: variant price difference not showing at source code

variant price difference not showing at source code

MyDepotSpot
Tourist
5 0 0

So I have a product with a lot of different variants and different prices for the variants. And I have it listed on google merchant center and google is flagging it because the product price is different from the source price. So for some reason the source code is showing the lowest variant price on all variants when you look at the source code and I am not sure how to change that. does anyone know how to fix that thanks

MyDepotSpot.com
Replies 6 (6)
MyDepotSpot
Tourist
5 0 0

Yea that will work to change the price but than I have to sale them at a different price than what I want to.  Thank for the help though.

MyDepotSpot.com

EmmanuelFlossie
Shopify Partner
3460 264 834

Yes, you are correct, the most likely reason is two-fold.

 

1) Incorrect schema.org information

2) Incorrect opengraph information.

 

You can resolve the structured by following the official guide here: https://support.google.com/merchants/answer/7331077?hl=en

Which does requires some editing skills and knowing Shopify's objects.

 

Or you can resolve both by following the guide here: https://feedarmy.com/kb/shopify-microdata-for-google-shopping/

Get in touch with Emmanuel: a Google Shopping Specialist, Google Ads Diamond Product Expert, and also a a Google Product Expert Education 2021 & Tailwind 2023 Award winner.
Need Google Merchant Center or Google Shopping support?.

ilanadavis
Shopify Partner
233 29 78

Hey @MyDepotSpot

Can you share your URL? If not, you can evaluate the most common reasons for a price mismatch below.


1. What product URL is your data feed using? Your data feed should be using the variant id urls and not the product-only ones.

Product-only url (wrong): https://www.example.com/products/red-shirt
Variant id url (correct): https://www.example.com/products/red-shirt?variant=123456

I'd recommend checking your data feeds urls and correcting any that need it.

2. Have you entered the GTIN or MPN at the variant level for your products?

https://www.ilanadavis.com/articles/using-advanced-product-data-in-shopify-to-help-your-seo-and-goog...

If so, check that your theme is including that information in the structured data using the Rich Results Testing Tool. The SKU alone usually isn't sufficient for Merchant Center and many themes don't include the GTIN or MPN at the variant level if at all.  This article explains how to test your pages: https://www.ilanadavis.com/articles/test-json-ld-code-shopify

 

3. When you select different variants on the page, does the URL change to include the variant URL? If not, it should.

Those are the most common reasons for the price mismatch error. If you can provide answers to 1 and 2 above, I'd be able to better advise next steps. There's also this article I wrote up recently which explains it more in detail. It can take Merchant Center about 2-3 weeks to process the data before seeing the mismatched pricing errors resolved.

https://www.ilanadavis.com/articles/resolving-mismatched-value-price-from-shopify-to-merchant-center

 

If you need help evaluating your structured data, feel free to contact me at support@ilanadavis.com and I can tell you if your data looks good or if you'd need an app like JSON-LD for SEO to provide the proper data for Merchant Center.

Ilana Davis, Shopify Superhero
JSON-LD for SEO, adds structured data to your theme, getting you more organic traffic with Rich Results.
MyDepotSpot
Tourist
5 0 0

https://mydepotspot.com/

 

Thanks for the info. 

It's weird cause yesterday it fixed itself for all the variants except 2.  But all was still showing the lowest price in the source code even though Google had the right price. 

MyDepotSpot.com
ilanadavis
Shopify Partner
233 29 78

Thanks for sharing your URL @MyDepotSpot 

 

I ran a quick test on a product using the Rich Results Testing Tool and can see your variants are there, but I don't see the unique product identifiers (#2 from above).

 

Essentially the unique product identifier is a way for Google to match what's on your product feed with what's in the structured data as well as visually on the page using the unique variant URL.

If you've added those to Shopify, your theme is missing that information. If you need the MPN or GTIN and don't know how to add it yourself, I recommend using an app that can ensure your data is kept up to date along with Google's requirements.

Typically SKU isn't sufficient, but it's possible that Merchant Center is trying to match your data with SKU instead of the MPN or GTIN. That may explain why some were accepted but not all.

Ilana Davis, Shopify Superhero
JSON-LD for SEO, adds structured data to your theme, getting you more organic traffic with Rich Results.
EmmanuelFlossie
Shopify Partner
3460 264 834

Make sure that if you are using the current structured data setup, that you only show 1 variant.

Reference: https://search.google.com/test/rich-results/result/r%2Fproduct?id=_rBlmBfM4Nj0rVK8ftbz9Q

 

Otherwise, Google will only read the first iteration of the variant loop.

 

The code on my website takes this into consideration. And only show the specific variant in question. Which avoids price mismatch.

 

If you do not want to integrate this, then I recommend you reach out to the support team of your current structured data integration and ask them to update the code to allow Google Shopping bot not to get confused.

Get in touch with Emmanuel: a Google Shopping Specialist, Google Ads Diamond Product Expert, and also a a Google Product Expert Education 2021 & Tailwind 2023 Award winner.
Need Google Merchant Center or Google Shopping support?.