Facebook for WooCommerce

Description

This is the official Facebook for WooCommerce plugin that connects your WooCommerce website to Facebook. With this plugin, you can install the Facebook pixel, upload your online store catalogue, and create a shop on your Facebook page, enabling you to easily run dynamic ads.

Marketing on Facebook helps your business build lasting relationships with people, find new customers, and increase sales for your online store. With this Facebook ad extension, reaching the people who matter most to your business is simple. This extension will track the results of your advertising across devices. It will also help you:

  • Maximise your campaign performance. By setting up the Facebook pixel and building your audience, you will optimise your ads for people likely to buy your products, and reach people with relevant ads on Facebook after they’ve visited your website.
  • Find more customers. Connecting your product catalogue automatically creates carousel ads that showcase the products you sell and attract more shoppers to your website.
  • Generate sales among your website visitors. When you set up the Facebook pixel and connect your product catalogue, you can use dynamic ads to reach shoppers when they’re on Facebook with ads for the products they viewed on your website. This will be included in a future release of Facebook for WooCommerce.

Support

If you believe you have found a security vulnerability on Facebook, we encourage you to let us know right away. We investigate all legitimate reports and do our best to quickly fix the problem. Before reporting, please review this page, which includes our responsible disclosure policy and reward guideline. You can submit bugs here or contact advertising support here.

When opening a bug on GitHub, please give us as many details as possible.

  • Symptoms of your problem
  • Screenshot, if possible
  • Your Facebook page URL
  • Your website URL
  • Current version of Facebook-for-WooCommerce, WooCommerce, WordPress, PHP

Installation

Visit the Facebook Help Center here.

Reviews

21 January 2021
In theory the plugin offers very good functionalities. In practice, unfortunately, it brought more problems than solutions. It increased substantially the cpu usage, created thousands of failed scheduled actions (probably the syncs failed because the store has thousand of products). It's a good effort to put a free plugin like this together, and I understand it takes time to find a good solution that works for different scenarios, but I believe the plugin still needs to find better solutions to improve in terms of performance, specially for stores with large amount of products.
17 January 2021
Messaged support got 0 feedback. Plugin not compatible with latest wordpress update. Setup says "youre all done" click on the done button just to get " oops something went wrong" but when you check in fb business suit it shows the fb pixel but the pixel says " install microdata" i got schema installed. All fields are completed but it still says all the data fields are missing and in my commerce Manager it still says uploading data feed and does nothing further. Support dont respond and closed other peoples tickets with the same issue without responding to their queries too.
14 January 2021
This plugin is unusable unless you are able to sign in as the owner or admin of the business. So as I have hit the maximum number of unverified businesses I cannot set up a pixel for the customer or connect their facebook page using this app. Business suite itself is a mess which makes this really hard to work with. You can only manage a small number of unverified businesses. As a consultant - This makes it impossible to get on with the day job. The app itself is probably quite good - If Facebook hadnt made business suite so bleeding painful to use. Top Tip - Facebook business suite wont allow verification of a business unless you add an app. Even if you dont intent on using an app. You cannot verify without creating one. Verification remains greyed out until you do so. Stupid bug and stupid system issue prevent this app from being used.
7 January 2021
plugin v2.2.0 WP v5.6 Works good enough i.e. publishing and updating products to Facebook, but recently getting out of memory in my server's errorlogs because this plugin keeps syncing away. e.g. [Thu Jan 07 17:20:21.046133 2021] [lsapi:error] [pid 4073994:tid 139717341103872] [client xxx] [host xxx] Backend fatal error: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /home/xxx/domains/xxx/public_html/wp-content/plugins/facebook-for-woocommerce/includes/Products/FBCategories.php on line 47\n, referer: https://xxx/wp-admin/admin-ajax.php?action=wc_facebook_background_product_sync&nonce=bb812c02aa The error can occur in different scripts, but the referer is always the same: background sync. Cannot disable sync, as the syncing process itself is disabling saving settings on the sync page!
5 January 2021
This is the one of the worst plugins I've used from a UI/UX perspective. It's incredibly awkward to set up, keeps sending you to Facebook Business Manager instead of letting you set things up within the WordPress dashboard, and Product Sync doesn't allow any attribute mapping. This means all my products were "brand: store name" and had no other attributes whatsoever. Also, category info doesn't get passed to FB. And you can't seem to "stop" the product sync once it starts. There's no option to cancel the sync, and every time I visit the "Product Sync" tab in the settings to turn it off, it starts syncing again and disables the product sync checkbox and save button. Overall, it does work to simply install the FB pixel and pass Woo events, but pretty much everything else about the plugin was horribly designed. We're now having to figure out how to stop the product sync and delete our FB Catalog products (which is not a quick process) so we can re-do the product sync correctly with another plugin, and it's wasted a bunch of time.
Read all 237 reviews

Contributors and Developers

“Facebook for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

“Facebook for WooCommerce” has been translated into 9 locales. Thank you to the translators for their contributions.

Translate “Facebook for WooCommerce” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Change Log

2020.11.19 – version 2.2.0

  • Feature – Add an Advertise tab in the Facebook settings page to manage Facebook ads from within WooCommerce
  • Tweak – Move the Facebook settings page into the Marketing menu item (WooCommerce 4.0+)
  • Fix – Move the filter facebook_for_woocommerce_integration_pixel_enabled initialization to avoid possible uncaught JavaScript errors in front end
  • Fix – Update field name and format for additional_variant_attribute to resolve Facebook catalog sync for variable products.

2020.11.04 – version 2.1.4

  • Fix – Ensure product variant attributes are correctly handled when checking for enhanced attribute values.

2020.10.29 – version 2.1.3

  • Fix – Prevent error triggered while trying to refund orders

2020.10.28 – version 2.1.2

  • Tweak – Default variation selection will be synced to Facebook if the default product variation is already synced
  • Fix – Trigger a pixel Search event for product search requests with a single result (works for logged in users or visitors with an active WooCommerce session)
  • Fix – Prevent a JavaScript error on the Add New Product page when Facebook for WooCommerce is not connected to Facebook

2020.10.27 – version 2.1.1

  • Fix – Adjust code syntax that may have issued errors in installations running PHP lower than 7.3

2020.10.26 – version 2.1.0

  • Feature – Set Google category at the shop level for the Facebook catalog sync (on the product sync tab).
  • Feature – Set Google category for the Facebook catalog sync at the WooCommerce category level.
  • Feature – Set Google category for the Facebook catalog sync at the product level.
  • Feature – Set Enhanced Catalog category specific fields for the Facebook catalog sync at the WooCommerce category level.
  • Feature – Set Enhanced Catalog category specific fields for the Facebook catalog sync at the product level.

2020.10.12 – version 2.0.5

  • Tweak – Update product availability when stock changes in the store
  • Fix – Don’t prevent variation products from being updated when they’re set to not sync with Facebook but have their categories excluded from syncing
  • Fix – Prevent an error during the feed generation when variable products are still using deleted terms

2020.10.08 – version 2.0.4

  • Fix – Fix SQL errors triggered while trying to remove duplicate visibility meta entries from postmeta table

2020.10.02 – version 2.0.3

  • Tweak – Pixel events now can include advanced matching information
  • Fix – Send contents parameter for ViewContent event using the correct format
  • Fix – Remove duplicate visibility meta entries from postmeta table

2020.09.25 – version 2.0.2

  • Tweak – Allow simple and variable products with zero/empty price to sync to Facebook
  • Tweak – Use the bundle price for Product Bundles products with individually priced items
  • Fix – Update connection parameters to use an array to pass the Messenger domain
  • Fix – Ensure out-of-stock products are marked as such in Facebook when the feed file replacement is run
  • Fix – Address a potential error when connecting from a site whose title contains special characters

2020.08.17 – version 2.0.1

  • Fix – Ensure the configured business name is never empty when connecting to Facebook

2020.07.30 – version 2.0.0

  • Tweak – Show Facebook options for virtual products and variations
  • Tweak – Hide “Sync and show” option for virtual products and variations
  • Tweak – On upgrade, automatically set sync-enabled and visible virtual products and virtual variations to Sync and hide
  • Tweak – Allow to bulk enable sync for virtual products, but automatically set them to Sync and hide
  • Fix – Use the plugin version instead of a timestamp as the version number for enqueued scripts and stylesheets
  • Fix – Use the short description of the parent product for product variations that don’t have a description or Facebook description
  • Fix – Prevent an error when YITH Booking and Appointment for WooCommerce plugin is active

2020.06.04 – version 1.11.4

  • Fix – Do not sync variations for draft variable products created by duplicating products
  • Fix – Do not log an error when the product is null on add to cart redirect

2020.05.20 – version 1.11.3

  • Tweak – Write product feed to a temporary file and rename it when done, to prevent Facebook from downloading an incomplete feed file
  • Tweak – Hide Facebook options for virtual products and virtual variations
  • Tweak – Do not allow merchant to bulk enable sync for virtual products
  • Tweak – On upgrade, automatically disable sync for virtual products and virtual variations
  • Tweak – When using checkboxes for tags, make sure the modal is displayed when trying to enable sync for a product with an excluded tag
  • Fix – Prevent tracking of a duplicated purchase event in some circumstances, such as when the customer reloads the “Thank You” page after completing an order
  • Fix – Fix a JavaScript issue that was causing a notice to be displayed when bulk editing product variations

2020.05.04 – version 1.11.2

  • Misc – Add support for WooCommerce 4.1

2020.04.27 – version 1.11.1

  • Fix – Fix integration with WPML

2020.04.23 – version 1.11.0

  • Tweak – Sync products using Facebook’s feed pull method
  • Fix – When filtering products by sync enabled status, make sure variable products with sync disabled status do not show up in results
  • Fix – Make sure that the Facebook sync enabled and catalogue visibility columns are properly displayed on narrow screen sizes on some browsers
  • Fix – Do not show a confirmation modal when saving a variable product that was previously synced but belongs now to a term excluded from sync
  • Fix – Ensure variable products excluded from sync are not synced in Facebook
  • Fix – Trigger a modal prompt when attempting to enable sync for variations of a variable product that belongs to a term excluded from sync
  • Fix – Address potential PHP warnings in the product feed with non-standard product variations introduced by third party plugins
  • Fix – Fix a JavaScript error triggered on the settings page while trying to excluded terms from sync
  • Fix – Fix a JavaScript error triggered when saving a product and using tickboxes for tags

2020.03.17 – version 1.10.2

  • Tweak – Add a setting to easily enable debug logging
  • Tweak – Allow third party plugins and themes to track an add-to-cart event on added_to_cart JS event
  • Tweak – When excluding a product term from syncing in the plugin settings page, offer an option to hide excluded synced products from Facebook
  • Tweak – When excluding product terms from syncing in the plugin settings page, and settings are saved, exclude corresponding products from sync
  • Tweak – Improve error messages shown when a problem occurs during products sync
  • Tweak – Log Graph API communication if logging is enabled
  • Fix – When excluding a product term from syncing in the plugin settings page, ensure a modal opens to warn about possible conflicts with already synced products
  • Fix – Messenger settings fields will correctly reflect the values selected during initial setup
  • Fix – Fix a bug that caused newly added gallery images not to be synced immediately after they were added
  • Fix – Fix a bug that prevented gallery images from being removed from products on Facebook
  • Fix – Fix AddToCart Pixel event tracking when adding products from archive with AJAX and redirect to basket enabled
  • Fix – Fix undefined index and undefined property notices.
  • Dev – Make Pixel script attributes and event parameters filterable

2020.03.10 – version 1.10.1

  • Fix – Prevent Fatal error during the upgrade routine introduced in version 1.10.0
  • Fix – Only load the admin settings JavaScript on the Facebook settings page to prevent conflicts with other scripts
  • Misc – Add support for WooCommerce 4.0

2020.03.03 – version 1.10.0

  • Feature – Exclude specific products, variations, product categories, and product tags from syncing to Facebook
  • Feature – Add Facebook product settings like price and description to variations
  • Feature – Revamped settings screen with on-site control over pixel, product sync, and Messenger behaviour
  • Tweak – Use Action Scheduler for the daily forced re-sync, if enabled
  • Fix – Improve pixel tracking accuracy for add-to-cart events
  • Misc – Add the SkyVerge plugin framework as the plugin base
  • Misc – Require WooCommerce 3.5 and above

1.9.15 – 2019-06-27

  • CSRF handling for Ajax calls like ajax_woo_infobanner_post_click, ajax_woo_infobanner_post_xout, ajax_fb_toggle_visibility
  • use phpcs to adhere to WP coding standards
  • Minor UI changes on the iFrame

1.9.14 – 2019-06-20

  • Revisit CSRF security issue
  • Remove rest controller which is not used
  • Tested installation in WordPress 5.2.2, WooCommerce 3.64, PHP 5.6/7.3 with browser Chrome v75/Safari v12.1/Firefox v67.

1.9.13 – 2019-06-18

  • Fix security issue
  • Add more contributors to the plugin

1.9.12 – 2019-05-2

  • Remove dead code which causes exception (Issue 975)

1.9.11 – 2019-02-26

  • changing contributor to Facebook from facebook4woocommerce, so that
    woo plugin will be shown under
    https://profiles.wordpress.org/facebook/#content-plugins
  • adding change log in readme.txt so that notifications will be sent for
    updates and change log will be shown under
    https://wordpress.org/plugins/facebook-for-woocommerce/#developers
  • removing debug flags notice under facebook-for-woocommerce.php so that
    developers will be able to debug with debug logs