Identifier exists = No

#55692
  • Resolved Sandra
    Rank Math free

    Hi there,
    First of all thank you for developing such a helpful and awesome plugin. 🙂
    I’ve been trying to find a solution on how to set identifier_exists to no for structured data. This is recommended by Google in a case if one sells items that are either handmade, custom made or do not have mpn, isbn, ean, etc.
    In addition to this for these items Brand should be stripped off, too.
    I already have a Google merchant feed with approved items that contains these settings.
    Any chance you could point me in a direction or let me know what code I need to add?
    Thank you so much 🙂

Viewing 1 replies (of 1 total)
  • Hello,

    I assume you have WooCommerce installed. Please add this filter to turn EAN to be used as GTIN.

    add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
    
    $entity['gtin'] = str_replace('-', '',$entity['ean']);
    
    return $entity;
    });

    For your brand settings, head over to WordPress Dashboard > Rank Math > General Settings > WooCommerce and set none as your brand (this is usually the
    RM default setting).

    Brand Value

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    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 1 replies (of 1 total)

The ticket ‘Identifier exists = No’ is closed to new replies.