no global identifier tag

#211618
Viewing 5 replies - 1 through 5 (of 5 total)
  • Anas
    Rank Math business

    Hello,

    Thank you for contacting Rank Math, and sorry for the delay and inconvenience caused.

    That option is only available in the PRO version of our plugin.

    You can fix it by adding that to your products using the custom product attribute feature in WooCommere or you can use this plugin: https://wordpress.org/plugins/product-gtin-ean-upc-isbn-for-woocommerce/

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

    Hello, using your recomended plugin Google rich results test still dont see GTIN.
    do we need to add code or what ?

    Hello,

    Thank you for keeping in touch with us.

    Can you please share the affected URL with us so we can further check it on our end?

    We are looking forward to helping you with this one.

    Ankit
    Rank Math business

    Hello,

    Thank you for your reply.

    You can also use the following filter to add the GTIN tag inside your schema:

    Make sure to paste the code inside your current theme’s function.php file

    add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
    global $post, $product;
        $entity['gtin8'] = "$product->sku" ;
        return $entity;
    });

    You can also modify it according to your need.

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

The ticket ‘no global identifier tag’ is closed to new replies.