Some error

  • Hello, I just moved from Yoast to your great plugin but im facing a problem
    This Product is missing a global identifier (e.g. isbn, mpn or gtin8). Please see documentation for valid identifiers. and my products its already with EAN code https://prnt.sc/qzk33y

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

    Rank Math takes the schema data from your product pages automatically and turns it into Schema-ready content.

    You can fix the SKU and availability issue easily as well:

    To fix the missing identifier issue, head over to WordPress Dashboard > Rank Math > General Settings > WooCommerce and choose from any of the available fields to use as your product’s custom field.

    Brand Value

    If you want to use a custom value for your isbn/mpn/gtin8, you can do that by using the following code in your theme’s functions.php file:

    // Add Brand for Products.
    add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
    $entity['isbn'] = '132456789';//add your isbn value here
    return $entity;
    });

    Replace the “Rank Math” text with your actual brand name then run your website through the Structured Data Testing tool once again.

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

    thanks Michael Davis maybe theres miss understanding normally i have alright the isbn code on my products but the plugin doesnt read them! if i put the last code on my functions.php on structured data it will show all products has same isbn code 132456789 https://prnt.sc/qzvdyi

    heres an example https://prnt.sc/qzvf5u and here on structured data tools https://prnt.sc/qzvfhc

    No solution for this ?
    Thank you

    Hello,

    Thanks for getting back to us.

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Done

    Hello,

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

    I am afraid that the password does not work. Could you please check this from your end?

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello, i updated it please check it

    Hello, Did you had time to check my problem ?

    Hello,

    Sorry for not following up quickly and any inconvenience that might have been caused due to that. WooCommerce doesn’t have any specific field for the Gtin. From what I see, your theme is adding this field in the WooCommerce Settings. Please try adding following code in your theme’s functions.php file:

    
    add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
    	global $post;
    	$entity['gtin8'] = get_post_meta( $post->ID,'_gtin', true );
    	return $entity;
    });
    
    

    This should fix the issue.

    Thank you.

    Hello,
    thank you its working fine now .

    best regards

    Hi,

    We are so glad to be of help. We are always here if you need us in the future.

    Hey, if it isn’t too much to ask for – would you mind leaving us a review here?

    https://s.rankmath.com/reviewrm

    It only takes a couple of minutes but helps us tremendously.

    It would mean so much to us.

    Thank you.

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

The ticket ‘Some error’ is closed to new replies.