Product in search console

  • Hello,

    All my products are not declared to the search console.How can I declare them to the search console?

    Also, there are missing fields:

    It can be that we generate a URL for each variation as you can see here: Barbecue-kamado/

    However it would be possible to add the missing info by adding the info of the default variation on the URL declared with the search console.

    Here is how the information for our google shopping feed is mapped, maybe it will help you answer me:

    thanks in advance

Viewing 3 replies - 31 through 33 (of 33 total)
  • Hello,

    You seem to ave marked this as resolved. Do you still require our assistance?

    Looking forward to helping you. Thank you.


    Hi michael for GTIN and Price we are good 😉

    But I open new ticket for this error.
    I have an error critic in this page, it’s come frome rankmath because when i desactivate rankmath, i have no more error :

    AH01071: Got error ‘PHP message: PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘rewrite_search_slug_pagination’ not found or invalid function name in /var/www/vhosts/ on line 287PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_price() on null in /var/www/vhosts/\nStack trace:\n#0 /var/www/vhosts/ wc_get_price_including_tax()\n#1 /var/www/vhosts/ {closure}()\n#2 /var/www/vhosts/ WP_Hook->apply_filters()\n#3 /var/www/vhosts/ apply_filters_ref_array()\n#4 /var/www/vhosts/ RankMath\\OpenGraph\\OpenGraph->do_filter()\n#5 /var/www/vhosts/ RankMath\\OpenGr…’

    And in my function.php I added this code yesterday for GTIN :

    // GTIN données structurées

    add_filter( ‘rank_math/snippet/rich_snippet_product_entity’, function( $entity ) {
    if ( ! is_product() ) {
    return $entity;

    $product = wc_get_product( get_the_ID() );
    if ( ! $product->is_type( ‘variable’ ) ) {
    $entity[‘gtin13’] = get_post_meta( get_the_ID(), ‘hwp_var_gtin’, true );
    return $entity;
    $variations = $product->get_available_variations();

    if ( ! empty( $variations ) ) {
    $entity[‘gtin13’] = get_post_meta( $variations[0][‘variation_id’], ‘hwp_var_gtin’, true );

    return $entity;
    } );


    We are glad the first issue is resolved.

    Let’s resolve the new issue in your other ticket.

    Looking forward to helping you.

    Thank you.

Viewing 3 replies - 31 through 33 (of 33 total)

The ticket ‘Product in search console’ is closed to new replies.