Support » Plugin: Pixel Caffeine » View Content: Can’t Match Product

  • Hi there,

    Is there anyway to be able to fix this?

    I was using Facebook for WooCommerce but it’s somehow very heavy & load very slow, so the tracking is mostly not recorded. I tried PixelYourSite but seems like it’s not working well. Maybe it conflicts with some plugins.

    I tried your plugin and it’s very fast loaded. Hopefully there’s a way to fix this one.

    Thanks!

    Regards,
    Ruben

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 25 total)
  • Thread Starter digitalrevival

    (@digitalrevival)

    Sorry I forgot to attach the screenshot.

    There you go: Screenshot

    Plugin Author Antonino Scarfì

    (@antoscarface)

    Hi,

    thank you for your appreciations about the plugin, I’m glad to see that it works very well and much better than others! 🙂

    About your issue, you just need to create the product catalog and product feed in your business manager account, in order to give the ability to Facebook to match the products he is tracking with the products of your business manager, in order to make Ads.

    Now, from the 2.0 version of Pixel Caffeine, we introduced the Product Catalog feature! 🙂
    So, if you are using the latest version of Pixel Caffeine, you should be able to create the product feed directly from the admin of Pixel Caffeine.

    You can create it in the “Product Catalog” tab of the settings page and you could also upload automatically the feed create to your facebook account.

    In this way, the plugin will automatically create the product feed and set it into your business manager account.

    Try it and let me know.

    Note: I also see in the screenshot that you are tracking the “SKU” instead of the ID of product (content_ids), so when you will create the feed, make sure to check the “Use SKU” in the feed configuration, in order to generate the feed with the SKU as ID of product.

    Thread Starter digitalrevival

    (@digitalrevival)

    Hi,

    I am trying out Product Catalog feature as you suggested. However, there’s an error.

    The error is showing like this:
    Screenshot

    I can’t find that product ID mentioned. When I click on it, it said that I have no authorization to open or access it.

    Thread Starter digitalrevival

    (@digitalrevival)

    I ended up uploaded the feed using WooCommerce Google Product Feed & it’s successfully accepted in Facebook Catalog. However, in pixel it’s still showing “can’t match product”. The catalog feed is already connected to the pixel. How come the pixel helper can’t recognise it?

    You can see it here: https://gizmosified.com/product/superhero-travel-suitcase-cover/

    The product feed is already submitted.

    Plugin Author Antonino Scarfì

    (@antoscarface)

    Firstly, sorry for the previous issue of Pixel Caffeine. It should be a bug that I already fixed, but the new version is not available yet. It should be soon, I hope within a few days.

    Secondly, make sure that the IDs in your feed file are the slugs and not the post ID. More specifically, the IDs inside the “content_ids” parameter must be matched inside the feed file: https://snag.gy/GpYrZf.jpg

    Thread Starter digitalrevival

    (@digitalrevival)

    Hi,

    Is the latest version fixed this? I’d like to use the Product Catalog using this plugin rather than extra plugin.

    Thank you.

    Plugin Author Antonino Scarfì

    (@antoscarface)

    Hi,

    yes, the query of the feed is fixed and now it shouldn’t fetch any more no-product posts.
    If you continue to receive the error, check the Product ID mentioned in the error and make sure that description (or excerpt) is defined on it. The error should contain also the link to the admin of that post.

    Let me know.

    Thread Starter digitalrevival

    (@digitalrevival)

    Hi,

    It’s still the same issue like this: https://ibb.co/gxy5KG
    When I click on it, it said I have no authorisation or something like that.

    There is 2 products without Description because I use Short Description instead. The meta description is managed by Yoast SEO plugin that automatically pick up from Short Desc if Desc is empty.

    I still can’t generate the feed now using your plugin.

    Plugin Author Antonino Scarfì

    (@antoscarface)

    Hi,

    the new version 2.0.2 should get the description from the short description if the main one is empty. Is the short description the one managed by WooCoommerce? Otherwise, we could add a PHP code inside the function.php of your active theme (or instead as a new plugin) that get the description from the right place if the main description is empty.

    In this case, this is an example code you can use to get the excerpt (the short description for WooCommerce) if the main description if empty:
    `add_filter( ‘aepc_feed_item_description’, function( $description, PixelCaffeine\ProductCatalog\FeedMapper $item ) {
    if ( ! empty( $description ) ) {
    return $description;
    }

    $post = get_post( $item->get_id() );
    if ( ! empty( $post->post_parent ) ) {
    $post = get_post( $post->post_parent );
    }

    $description = $post->post_excerpt;

    return $description;
    }, 10, 2 );`

    Thread Starter digitalrevival

    (@digitalrevival)

    Hi,

    Thanks for the reply.

    Yes, the short description is managed by WooCommerce and I am using your latest version of the plugin. Please see this clip: Screenshot Clip

    Do I need to add that code you gave in function.php? Thanks.

    Thread Starter digitalrevival

    (@digitalrevival)

    Hi,

    Did you get a chance to take a quick look at the short clip I made up here?

    I believe I am using the latest version of your plugin but the shopping feed still gives me the error that I couldn’t locate.

    Please advise. I thank you in advance.

    Plugin Author Antonino Scarfì

    (@antoscarface)

    This is really strange! It seems the feed continues to fetch some not existing products somewhere somehow.
    I can’t replicate this issue in any way and I need an help to understand how to replicate it. Are you able to take a look at the database? If so, please open the table <prefix>_posts and see the record with the ID 742?
    You can use a plugin like this one: https://wordpress.org/plugins/database-browser/ (you can delete it after this task).

    Let me know if you can help me in this.

    Thread Starter digitalrevival

    (@digitalrevival)

    Hi,

    I am checking it directly from phpMyAdmin.

    ID 742 refers to the product variation which is actually in ‘draft’ status. So, I’ve just deleted it.

    I thought the problem solved, I generated the feed and another error comes up. It gives me a different ID (2409).

    I realise a few things:
    1) The ID 2409 is also not a product, but a variation. The associated product ID is 2407.
    2) Product ID 2407 has a short description, but not long description.
    3) This product only has 1 variation, which is ID 2409.

    Please see the screenshot. This is the link to the product: Product Page
    Database Screenshot

    Hi, I am having the same problem as @digitalrevival.

    Plugin Author Antonino Scarfì

    (@antoscarface)

    Here I am, very sorry for the delay.

    I worked for a fix to this issue that I’m going to add for the next version. It gets the description for the variations from its parent if the variation description is empty, so this annoying error won’t happen again. Anyway, if you want a specific description for each variation, you could always specify the description inside each variation, otherwise, this new version will get it from the parent.

    You can get the plugin with the fix from the following URL: https://www.dropbox.com/s/7hote9u6ikcxmbu/pixel-caffeine.2.0.2.variation-desc.zip?dl=1
    Download it and install it in place of the one you have installed. In this way, you can take advantage of the fix to have catalog working without wait for the new version and then you will be able to update though because it will contain the fix inside 🙂

    Let me know if it solves for you.

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘View Content: Can’t Match Product’ is closed to new replies.