GTIN and Offer missing Data

#95190
  • Resolved Ankur
    Rank Math free

    Hi,

    I seen couple of the msg and in that your support team ask to install GTIN plugin. But after installing and update the data GTIN issue is still there and offers missing is also coming kindly please let me know how to resolve this issue as soon as possible.

    Regards

    Ankur

Viewing 1 replies (of 1 total)
  • Hello,

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

    Please add the following code to your theme functions.php and clear your cache then check if this resolves the issue:

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

    Looking forward to helping you. 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 1 replies (of 1 total)

The ticket ‘GTIN and Offer missing Data’ is closed to new replies.