OfferCount issue with G merchant centre

#67687
  • Resolved Marco van Hattem
    Rank Math free

    Hi,
    Rankmath is adding offers into the rich snippet showing aggregateoffer and an offercount for my variable products which causes google merchant centre to pick teh lowest price instead of the variable price for that variant.
    Now I have a plugin (product feed elite) that fix WooCommerce’s (JSON-LD) structured data bug and add extra structured data elements but rankmath is overriding it so my products still show errors in the merchant centre.
    Any idea how to overcome this?
    cheers
    Marco

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    If you wish to use another plugin to generate schema for your products, you can set Rank math product schema to none to keep Rank math from generating any product schema.

    Hope that helps. If you have any further question(s), please let us know. Thank you.

    No am happy for rankmath to set it but it would be good if it does either fix the woocommerce bug or doesn’t override a plugin that does fix the bug

    According product feed elite it is the offercount that is the issuerich snippet

    Hello,

    As per the Google documentation, the AggregateOffer should contain the offercount with a low and high price: https://developers.google.com/search/docs/data-types/product

    Can you give us an example of the schema data which the Product Elite plugin adds?

    Looking forward to helping you.

    Hi,
    I disabled the support for schema markup and that takes care of the offercount issue, but rankmath is still inserting:
    <meta property=”product:price:amount” content=”5.75”>
    Which is the lowest price of my product which has 5 variations.
    10ml
    30ml
    50ml
    100ml
    sample
    The price for sample is 5.75 which shows in this meta data.
    Now when google merchant centre crawls my pages it picks up that price for all variations but my xml feed will have the right price in it and my website will show the right prices for all variations so google merchant centre disapproves my products because of price mismatch.
    I had to deactivate rankmath to get rid of <meta property=”product:price:amount” content=”5.75”> any help would be appreciated?
    cheers
    Marco

    Hello,

    You can use following filter to remove the price:amout meta tag:

    
    add_filter( 'rank_math/woocommerce/og_price', '__return_false' );
    

    Please add this code to your theme’s functions.php file before the closing PHP tag i.e ?>

    I hope that helps. If there is anything else, please let us know.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)

The ticket ‘OfferCount issue with G merchant centre’ is closed to new replies.