Support » Plugin: Facebook for WooCommerce » Product ID is combined with product SKU

  • Resolved egocefalo

    (@egocefalo)


    Hi, after succesfuly importing all my items into facebook’s shop, the imported product ID (on facebook shop) its a combination of the product sku and the product ID, so on facebook the product’s ID shows as skunumber-productid and this is causing an event content ID issue.

    So I guess that what is needed is to at least disable the importing of the SKU or of the product ID, as I understand facebook will accept any of them but not a combination of both.

    Is there a way to achieve this?, there’s no configuration available for this and I can’t find any information about it.

    Or any workaround?

    Thank you!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Brad P. a11n

    (@snaacks)

    Hi @egocefalo,

    the imported product ID (on facebook shop) its a combination of the product sku and the product ID, so on facebook the product’s ID shows as skunumber-productid and this is causing an event content ID issue.

    So to confirm what is going on, right now you have a SKU and a Product ID set up, once the product syncs the data is combined to give the product an ID like product-123-456. Is it also creating duplicate products or no?

    So I guess that what is needed is to at least disable the importing of the SKU or of the product ID, as I understand facebook will accept any of them but not a combination of both.

    I want to clarify here what you’re aiming to do, the Facebook Catalogue uses the ID field to identify the product and doesn’t maintain a separate field specifically for a SKU, they instead recommend using the SKU for the ID.

    https://developers.facebook.com/docs/commerce-platform/catalog/fields/#universal-basic-attributes

    Is your goal to have a separate product ID and SKU field when adding the products to the catalogue? Or are you looking for a way to not have to limit fields? Depending on the specific thing you want to do it might be a good idea to check out product feed pro as it might offer some of what you’re looking for.

    https://wordpress.org/plugins/woo-product-feed-pro/

    Thread Starter egocefalo

    (@egocefalo)

    Hi Brad,

    What I need is to get rid of the error not to change any functionality. So what I need is what facebook wants, to import just the SKU not a combination of the SKU+ID or separate fields or else, just that field that already exists on facebook filled with the correct data = the SKU.

    If the only way to get rid of the error is to use that other plugin then I’ll check it out immediately. But I guess there’s a reason why facebook only recommends this plugin not as an option but as “the plugin to use”.

    Thank you!

    • This reply was modified 3 months, 2 weeks ago by egocefalo.
    • This reply was modified 3 months, 2 weeks ago by egocefalo.
    Plugin Support Sol J. a11n

    (@solstudioim)

    Hi @egocefalo

    Thanks for your reply.

    What I need is to get rid of the error not to change any functionality. So what I need is what facebook wants, to import just the SKU not a combination of the SKU+ID or separate fields or else, just that field that already exists on facebook filled with the correct data = the SKU.

    Thanks for clarifying!

    I have had a first hand experience of this case I think. So currently the behavior is:

    • If you don’t define an SKU for your product, the plugin will take the product ID for the Content ID (Item 1)
    • If you define an SKU for your product, that SKU will be the one for the Content ID column, in the Facebook Catalog (Item 2)

    Please see the screenshot below for details:

    Link to image: https://d.pr/VgwaMd

    The Issue

    It could be that at some point you didn’t define product SKU, making the Content ID as the product ID, and you made a chance adding SKUs. This way Facebook could have not properly updated your existing products, so instead of updating Product ID with SKU, instead, combining them.

    It’s likely a sign of product update sync being unsuccessful as the root cause of the issue you’re facing at the moment.

    Next Steps

    I would suggest you to do the following to resolve it:

    1. Clear WooCommerce transient data here WP Admin > WooCommerce > Status > Tools > WooCommerce transients > Click - Clear Transients (Button on right)

    2. If there is any duplicate products in Facebook, and you know which one is the correct one, then you can delete the duplicated/wrong ones. Say you know a product name, type in the Catalog > Items on Facebook, and then if more than one product comes up with different content ID, keep the one that’s the latest, say with SKU and remove the rest.

    3. Do a full manual sync again, please ensure that you have a good PHP time limit to avoid timeout, by going to Marketing > Facebook > Product sync, and click Sync product.

    Let me know how it goes!

    Thread Starter egocefalo

    (@egocefalo)

    Hi @solstudioim

    That’s exactly my problem and it looks exactly as in number 2 highlight.
    I’ll follow the steps and let you know.

    Thanks a lot for your help!

    Thread Starter egocefalo

    (@egocefalo)

    Hi @solstudioim

    It didn’t work, facebook’s items Content ID´s are still the same SKU_ProductID.

    Also I didn’t notice before that where you explain the issue you guess that I defined the SKUs after syncing but my items SKUs were defined since long before installing/trying the plugin.

    What can I do next?

    Thank you!

    Plugin Support B C. a11n

    (@battouly)

    Hi @egocefalo,

    Can you try to reconnect the plugin and see if the behavior still persists?

    Here’s a guide on how to reconnect:

    https://docs.woocommerce.com/document/facebook-for-woocommerce/facebook-for-woocommerce-how-to-re-connect/

    Keep us posted.

    Hello,

    My FB content_id are also a combination of SKU_product_id. I thought that was normal for fb. Is it not? It;s been like this for forever.

    Using Pixeyoursite tracking everything works fine if i use setting “FB for wc content_id logic”

    But now i am facing an issue using a different tracking plugin that just sends the SKU as content_id and so doesn’t match the Fb catalogue.

    @solstudioim Your screenshot shows a combined sku_productID as content_id

    /J

    • This reply was modified 1 month, 3 weeks ago by kattouf.
    • This reply was modified 1 month, 3 weeks ago by kattouf.
    • This reply was modified 1 month, 3 weeks ago by kattouf.
    Plugin Support Con a11n

    (@conschneider)

    Automattic Happiness Engineer

    Hi again,

    My FB content_id are also a combination of SKU_product_id. I thought that was normal for fb. Is it not? It;s been like this for forever.

    I think it is usually just product_id, but hey – as long as it works.

    But now i am facing an issue using a different tracking plugin that just sends the SKU as content_id and so doesn’t match the Fb catalogue.

    I examined sites with multiple tracking plugins in the past and there was often a slight hiccup (tracking pixels clashing, ids mismatching etc.). I imagine that you will probably have to use some custom coding to align IDs for you.

    Kind regards,

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.