Missing ID pixel facebook

#89518
  • A required field is missing: id
    Products without “id” information can’t be uploaded. Please check that this field is included for each product in a separate, labeled column.

    hi, i tried to paste this code in function.php
    /**
    * Filter to change the Rank Math schema data for Product.
    * @param array $entity
    * @return array
    */
    add_filter(‘rank_math/snippet/rich_snippet_product_entity’, function ($entity) {
    $entity[‘@id’] = get_permalink().’#product’;
    return $entity;
    });

    but nothing has changed.
    how can i solve?

Viewing 2 replies - 1 through 2 (of 2 total)
  • i have the same problem

    Sajid Khan
    Rank Math business

    Hello,

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

    Sorry for the issue you are facing.

    Assuming you are using the latest version of all the plugins and the themes (please update if not yet), it would seem like a conflict with one of the plugins or the theme you are using.

    To determine that, please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Please let us know if you find the culprit.

    Only the site admin would know and your users won’t be affected by this troubleshooting.

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

The ticket ‘Missing ID pixel facebook’ is closed to new replies.