• Resolved dynamek

    (@dynamek)


    I am finding that products aren’t being removed from the Facebook catalogue when they are removed from the website. Should it be? If so, what can I do to make this work correctly?

    • This topic was modified 2 years, 11 months ago by dynamek.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Provided you’re deleting products via the WordPress interface, we would expect that the products would be removed from facebook. There is code to do that. We hook into the before_delete_post action here: https://github.com/woocommerce/facebook-for-woocommerce/blob/master/facebook-commerce.php#L361 and this is our callback function:
    https://github.com/woocommerce/facebook-for-woocommerce/blob/master/facebook-commerce.php#L965-L986

    So, if your products are not being deleted from Facebook when you delete them from your WooCommerce site via the regular WordPress interface, then there is most likely an error occurring in the background. The first place to look would be the WooCommerce fatal error logs. WooCommerce -> Status -> Logs and then in the dropdown selector, look for any logs where the name begins with fatal-errors, followed by a date/time, followed by random letters/numbers. If any of those exist, you’ll want to get those errors resolved.

    If there are no fatal errors, the next best thing to do would be to enable Facebook debug logging.

    to get an idea for why this might not be working. After logging has been enabled, the next time there is a failure, you can retrieve the facebook log for that failure. Those too can be found under WooCommerce > Status > Logs.

    I have exactly the same problem. And when I go to my FB commerce manager and look under ‘sets’, the ‘all products’ set has every product I’ve ever had in my catalog – deleted or not – with error signs next to the deleted ones!

    FB doesn’t allow me to delete anything from my catalog. It says I have to do this in Woo (which I’ve already done of course)

    Plugin Support Brad P. a11n

    (@snaacks)

    Hi @gretablue

    Thank you for letting us know you’re experiencing this issue as well, we appreciate it. Could you please open your own thread in order to ensure your issue gets the necessary attention?

    Thanks!

    Thread Starter dynamek

    (@dynamek)

    Hi – I have no fatal errors and the logs don’t seem to show anything for the deleted items that are still on facebook.

    I tried removing all items and re syncing and that hasn’t worked either.

    Advise?

    Plugin Support Brad P. a11n

    (@snaacks)

    Hi @dynamek

    Thanks for letting us know that did not work for you, at this point could you please open up a ticket with us and reference this thread? We may need to request some information we wouldn’t ask you to post on a public forum.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Does this plugin remove products?’ is closed to new replies.