top of page

Fix Mismatched value (page crawl) [price] on Google Merchant Center from Shopify Product Feed

If your Shopify products are showing as disapproved on Google Merchant Centre (GMC) due to Mismatched value (page crawl) [price] error, I have a simple fix for you. This problem seems to arise when you have multiple variants for a product that differ in price. Even if you manually update the price, it will still be disapproved. It seems that GMC's crawlers detect the price of the URL-specified variant via the OpenGraph price value in the page's code. For this reason, GMC seems to take the lowest priced variant as the price for all variants.


How to check if this fix will work for you?


1) In Google Merchant Center, go to the tabs Products > Diagnostics

2) Scroll down to the issues section 3) Find the error Mismatched value (page crawl) [price] 4) Click "View Examples"

5) Prices are separated in 2 columns. The "Value in feed" is the price listed on the website for the variant. The "Value on Website" is the price taken from the OpenGraph value.

6) Go to the specific url for the product with the price mismatch

7) Right click on the page and click "View Page Source"

8) Press CTRL+F to bring up the search bar 9) Search "og:price" 10) Now you can see the Open Graph price 11) If this price does not match the actual price of the variant, you found the problem!


Now that we found the problem, how can we fix it?


1) Log into Shopify

2) Click "Online Store" (Under Sales Channels Tab) 3) Click Themes and press the box with three dots (next to customize) 4) Press Edit Code 5) On the left directory panel, expand the folder that says "Snippets" 6) Scroll down the folder items and click on the item that says "social-meta-tags.liquid"

7) Find the line of code that has the following: <meta property="og:price:amount" content="{{ product.price | money_without_currency | strip_html | escape }}">

8) Replace this line of code EXACTLY with the following: <meta property="og:price:amount" content="{{ product.selected_or_first_available_variant.price | money_without_currency | strip_html | escape }}"> 9) Now click Save


That is it! Now it should be fixed. All you have to do now is wait up to 1-3 days for the prices to update in Google Merchant Center. If this tutorial helped you out, please take a moment to leave a like and a comment.


Recent Posts

See All

Web Renovation: When is it time to perform one?

In today's fast-paced digital world, having a website that is both functional and visually appealing is essential to stay competitive. Your website is often the first interaction a potential customer

Comentarios


bottom of page