Support » Plugin: XML for Google Merchant Center » Google Error: mismatched price (page crawl)

  • Resolved ssoulless

    (@ssoulless)


    Google Merchant is showing errors for a lot of my products, it says “Price Mismatch” It means that the price that’s in the feed is not the same that’s on the product page of the website.

    However, while reviewing the products with the error the problem is only with products with variations.

    On the options of the plugin, I have enabled the “Upload Only the first variation” option in the plugin settings.

    The default layout of woocommerce shows first the cheapest variation price at the beginning of the page. That’s why the prices don’t match.

    Is there a way to only export the cheapest variation when selecting the “Upload Only the first variation” options in the settings of the plugin?

    Thanks

    • This topic was modified 8 months, 3 weeks ago by ssoulless.
    • This topic was modified 8 months, 3 weeks ago by ssoulless.
    • This topic was modified 8 months, 3 weeks ago by ssoulless.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author icopydoc

    (@icopydoc)

    Good day.
    Unfortunately, this is not possible.
    However, you can sort the variations by price within the product cards. The variation at the top of the list goes to the XML-file.

    Thread Starter ssoulless

    (@ssoulless)

    Could you please tell me which part of the code occurs the selection of the variation?

    I can customize it. Thanks for your help!

    Plugin Author icopydoc

    (@icopydoc)

    The file offer.php
    After line 206
    for ($i = 0; $i<$variation_count; $i++) {

    and see line 705

    $one_variable = xfgmc_optionGET('xfgmc_one_variable', $numFeed);
    if ($one_variable == 'on') {break;}	
    $stop_flag = false;
    $stop_flag = apply_filters('xfgmc_after_variable_offer_stop_flag', $stop_flag, $i, $n, $variation_count, $offer_id, $offer, $numFeed);
    if ($stop_flag == true) {break;}
    Thread Starter ssoulless

    (@ssoulless)

    Hello, is there a way you could add an option to select the cheapest variation to export in a next release?

    I think many people would find this a problem, since not always the first variation is the cheapest and by default woocommerce shows the price of the cheapest variation in the product page.

    Plugin Author icopydoc

    (@icopydoc)

    Hello. The sequence of variations is set on the product settings page. (you can just drag it with the mouse)

    I’ll think about your suggestion, but I’m not sure if this feature will appear anytime soon.

    Thread Starter ssoulless

    (@ssoulless)

    Yes I know what you mean, however the issue is that we are a marketplace, we have vendors and they create their products, so we do not have control on how they arrange the variations, I did a hack in your plugin to achieve what I needed, but would be nice to have that in the official plugin

    • This reply was modified 6 months, 3 weeks ago by ssoulless.
    Plugin Author icopydoc

    (@icopydoc)

    If it’s not difficult – send me your solution by support@icopydoc.ru
    I’ll see how you changed the code, maybe something like this will appear in future versions.

    Thread Starter ssoulless

    (@ssoulless)

    Okay I sent you an email with the code. Hope you review it. Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Google Error: mismatched price (page crawl)’ is closed to new replies.