Google Merchant Center finds incorrect product pricing when crawling my website
-
Hello,
I’m trying to show my products on Google Shopping. I successfully imported a feed and Google Merchant Center correctly reads the product prices, say 88.00€.
But when its bots crawl the website, they find prices like 880000.00€
In WooCommerce, I had the comma set as decimals separator, and two decimals. (The comma is more common in France, which is the website primary market.)
I changed it to a dot, kept the two decimals, but added this piece of code to hide them when equal to zero:add_filter( 'woocommerce_price_trim_zeros', '__return_true' );
Yet, this change didn’t help, a recent Google crawl stills complains about the price discrepancies. It seems I only changed the way prices are displayed on the website. But I realised prices were stored like 88.0000 for min_price and max_price in the wc_product_meta_lookup table. Maybe there is something to solve here.
Would you have an idea/solution to this problem?
I posted a thread at WooCommerce support first (https://www.ads-software.com/support/topic/google-merchant-center-finds-incorrect-product-pricing-when-crawling-my-website/), they suggested I asked here if it was a known issue.
In case it helps, here is my debug log:
https://creamaga.com/wp-content/uploads/woo-product-feed-pro/logs/debug.logAnyhow, I’m just discovering your plugin, it seems very useful, I’ll try and tackle Pinterest if I can get Google to work, and be sure to leave a review once I get how things work. ??
Thank you very much.
The page I need help with: [log in to see the link]
- The topic ‘Google Merchant Center finds incorrect product pricing when crawling my website’ is closed to new replies.