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.