Skip to content
All Guide to One Page

Facebook Feed for WooCommerce

Set up and license the Facebook XML feed, connect your Meta catalogue, map categories, build product sets, schedule exports with cron and troubleshoot feed errors.

Applies to v2.1.0 (15 Nov 2026) · WooCommerce 7.1+ · WordPress 6.0+ · PHP 7.4+

1. Overview and guide

What Facebook feed does for WooCommerce, what you need from Meta before you start and all step-by-step guides at one point.

The OBS Facebook XML creates from WooCommerce an XML feed products for Meta list. The list feeds Facebook Shop, Instagram products and dynamic ads (Advantage+ catalog ads). The plugin only reads product data and does not touch checkout or orders.

Who's it for?#

For e-shops in WordPress and WooCommerce who advertise products on Facebook and Instagram and want the list always updated at prices, stock, pictures and variations.

What you need#

  • Meta Business Manager with product catalogue at Commerce Manager and right to manage data sources.
  • WordPress and WooCommerce in a modern PHP version.
  • The plugin ZIP and License key from your OBS account.
  • Ideal access to a Cron server (cPanel, Plesk or SSH).
The "OBS Facebook XML Settings" page in the Overview tab with XML Feed Export, Feed URL, Actions and Scheduled
OBS Facebook XML's "Overview" tab, with the feed already created.

Guides in turn#

  1. Installation and activation
  2. Import license
  3. Connect to Meta's catalogue
  4. Plugin Settings
  5. Feed URL and automatic renewal (cron)
  6. Comparing categories
  7. Product sets and custom labels
  8. Images, variants and prices
  9. Test export and feed control
  10. Filters and excluding products
  11. Errors and Diagnostics in Meta
  12. Common problems and solutions

OBS does free installation and connection to the catalogue. Meta Pixel, Conversions API and campaigns are not included in the plugin. Google Shopping XML Feed for the same products on Google.

Article: Overview and guide →

2. Installation and activation

Download ZIP from the OBS account, upload it to WordPress and activate OBS Facebook XML in a few steps.

Installation steps#

  1. Login to your obstechnologies.gr account and open the section Downloads.
  2. The WooCommerce Facebook Feed Plugin press Download v... for the last edition. Keep the file as ZIP.
  3. In WordPress open Plugins → Add Add Add Add (page opens with title Add Plugins) and press Transhipment Plugin.
  4. Press Select File, select ZIP and press Install Now.
    The WordPress 'Add Plugins' page with the ZIP file selected and the 'Register Now' button
    Select ZIP and press "Register Now".
  5. Press Enable Plugin. On the list you will see the OBS Facebook XML.
  6. Open WooCommerce → OBS Facebook XML or the link Settings under the name of the plugin (fold to Documentation).
    OBS Facebook XML line in the plugin list with the "Settings" link highlighted
    The link "Settings" under the plugin name on the list "Additional".

What is added with the activation#

  • Hourly work at WooCommerce's Action Scheduler, which recreates the feed based on Upgrade frequency (Update Frequency).
  • The Folder wp-content/uploads/obs-xml-export/ with file facebook.xml. The server must be able to write on uploads.
  • Page Settings → OBS Facebook XML Category Mapping and one category field in the processing of each product group.
  • In the tab of each product, the box OBS Facebook XML Product Visibility.

Upgrade and other feeds#

Keep backup and upload the new ZIP with Replace current with downloaded. The arrangements remain. If you have other OBS XML feeds (Skroutz, Google, Glami), share the same export engine: keep everything in the latest version.

If you are already supplying the list from another plugin, do not delete it immediately. Add the new feed as a second source, check the products and then remove the old one, so that the list is not left empty.

Next step: import of a licence.

Article: Installation and activation →

3. Import license

Where License key enters OBS Facebook XML, how domain is activated, how updates come and how you change domain.

The license connects the plugin to its domain e-shop you and activates your automatic updates. Feed is also produced without active permission, but you will not receive corrections.

Enable#

  1. In your obstechnologies.gr account open Licences and press Copy Next to the key.
  2. Open WooCommerce → OBS Facebook XML.
  3. At the top the box appears Activate OBS Facebook XML for Update.
  4. Paste key to Enter Validation Key and press Activate. As long as the button is checked, it writes. Validating....
    The "Activate OBS Facebook XML for Update" box with the key field and the "Activate" button
    Paste the key in the field and press "Activate".
  5. You'll see a message from the press. The license was activated for .... Renew the page: with active permission the box no longer appears.

Error messages#

  • The license has not been found or is not active. Wrong character, gap at start or end, or key of another product.
  • You've reached the trigger limit. The license is already used in another domain.

Change domain#

  1. Open in your account Licences.
  2. The Activated domains press Change domain, write the new and press Save. Narin Release Release the position.
  3. Activate again from the plugin page on the new site.

After changing domain changes the Feed URL. Update the URL of the data source in Commerce Manager, otherwise Meta will continue to read the old site. For limits and transfers see the Licence help.

Article: Enter your licence key →

4. Connect to Meta's catalogue

How to add WooCommerce XML as a planned data source to Meta's Commerce Manager catalogue.

The plugin does not need token or Meta API. The catalogue reads public URL XML at regular intervals (schedulated feed).

What you need#

  • Business Manager with press catalogue e-commerce In Commerce Manager.
  • Right to manage the directory. For setup give OBS access partner to Business Manager, not your passwords.
  • A first, full feed from the plugin.

Statement of feed#

  1. In WordPress press Generate Feed on page WooCommerce → OBS Facebook XML.
  2. On card Feed URL press Copy URL. The file is the /wp-content/uploads/obs-xml-export/facebook.xml.
    The "Feed URL" card with the file URL and the "Copy URL" and "Open" buttons
    The ‘Feed URL’ card: ‘Copy URL’ for copying, ‘Open’ to view the file.
  3. In Commerce Manager open the catalogue and add new data source using URL feed.
  4. Paste Feed URL, select EUR currency and set scheduled download, for example daily or hourly.
  5. Complete the download and wait for the first edit.
  6. Open the Diagnostics of the catalogue and correct errors involving many products.

Meta's menu names change often; if you do not find the point, OBS makes the connection to the free setup.

The URL should be opened from outside without a code. If the site has a basic auth, maintenance mode or firewall rule, Meta will report that the link does not work. Continue with automatic renewal.

Article: Login to the list of Meta →

5. Plugin Settings

All fields of OBS Facebook XML per tab: Required Setup, Availability, Filters, Overrides and Advanced, with what each does.

Page WooCommerce → OBS Facebook XML has six tabs. Each configuration tab is stored with its own Save. In Greek admin the fields of the tabs Required Setup and Filters appear in Greek, while the names of the tabs Advanced and Availability English is left. Here the Greek labels are written, with English in brackets.

Overview#

Cards XML Feed Export, Feed URL (card writes) Use this URL in your Skroutz / BestPrice merchant panel., common text of all feeds), Actions (Generate feed now, Quick test export), Scheduling and PHP Memory Limit.

Required Setup#

  • Upgrade frequency (Update Frequency): Hourly, Twice a Day, Daily (default).
  • Status (Mode): Massive (Bulk, default), Cron, Sections (Chunk). With Cron or Sections it appears after saving and renewing the page the Default Page Size (default 500).
  • Colour properties (Color Attributes), Size Properties (Size Attributes): source for g:color and g:size.
  • Default Manufacturer (Default Brand), Manufacturer Properties (Brand Attribute): source for g:brand.
  • Product description (Product Description): Brief description (default) or Full description. HTML tags are removed.
  • Observance of products outside of stock (Skip Out-of-Stock Products), Receipt of product order (Skip Backordered Products).
  • Product Name Author (Product Name Compositer): title composition by dragging elements (name, variant properties, separators).
The ‘Required Setup’ tab with the frequency, status, color, size, brand and product name author
The "Required Setup" tab. Most fields appear in Greek, e.g. "Frequent upgrade" and "Situation".

Availability#

Classifications and default texts for In-Stock, Out-of-Stock and Backorder. in stock or out of stock· products in backorder count as available.

Filters (Filters)#

Includes category (Include Categories), Exception of categories (Exclude Categories) and, when designated Manufacturer Properties, Includes manufacturer (Include Brands) and Exception of manufacturer (Exclude Brands).

Overrides#

Fields Custom META field for ... (Custom Meta field for) for Brand, Barcode, MPN, EAN, Availability and Weight, Custom Meta field for Product ID (stays English) and Meta Product Description (in English) Skip product meta, the wrong translation of the plugin).

Advanced#

Test Export Product Limit (default 10), Test Export SKU Filter and the list of available filters for developers.

The "Advanced" tab with Test Export, Bulk Streaming and the Available Filters List
The Advanced tab: test export and filter list for developers.

Facebook feed has no additional settings of its own; the categories are set on the mapping page. See Comparing categories.

Article: Plugin settings →

6. Feed URL and automatic renewal (cron)

Where Facebook XML feed is located, when it is renewed on its own and how you add server cron to keep Meta's list updated.

Feed URL#

After first export the card Feed URL shows the address with Copy URL and Open: /wp-content/uploads/obs-xml-export/facebook.xml. The card help text states Skroutz because it is common in all OBS feeds; you state it to Commerce Manager.

Refresh without server cron#

An hourly work by Action Scheduler controls the Upgrade frequency (Update Frequency): with Mature renews each hour, with Twice a day. at 01:00 and 13:00 UTC and with Daily at 01:00 UTC. Work runs through WP-Cron, i.e. when the site has visitors.

Server cron#

  1. On card Scheduling press Show server cron command and Copy.
    The "Scheduling" card with the server cron command and the "Copy" button open
    The server cron command. The route to your site will be its own.
  2. cPanel: Cron Jobs → Add New Cron Job, Once Per Hour, order in Command.
  3. Plesk: Scheduled Tasks → Add Task → Run a command, Cron style 0 * * * *.
  4. SSH: crontab -e And the line at the end.

Server cron runs the cron.php the plugin and re-creates full feed each time it is performed. The frequency is now defined by the crontab.

Sync with Meta#

  • Meta downloads the file with its own program. Set download after the update time of feed.
  • After mass changes press Generate Feed and request immediate download from the data source.
  • If the list does not get new products, check the time first Last successful export in WordPress and after the last download time in Meta.

Article: Feed URL and automatic renewal (cron) →

7. Comparing categories

How you match the WooCommerce categories on the OBS Facebook XML Category Mapping page and what is written in the feed category fields.

Meta uses the category to understand what you sell and control its policies. The plugin has a ready list of product categories in English.

Mass matching#

  1. Open Settings → OBS Facebook XML Category Mapping or the link Map Categories for XML Output at the bottom of the plugin configuration page.
  2. On each line WooCommerce Category select value in column Facebook Category. The field has an English-word search.
    The page "OBS Facebook XML Category Mapping" with the WooCommerce categories and the column for the Facebook category
    The matching page: next to each WooCommerce category you choose category from the list.
  3. Press Save Changes (Save Changes) at the end.

The same field exists in Products → Categories, in the processing of each category, labeled Select Google Shoppping Category.

The product class edit page with the field "Select Google Shopping Category"
The field in category processing. "Shoppping" is thus written in the plugin.

What is written on feed#

  • g:google_product_category: the code of the category that you corresponded to deeper category of product. If this is not matched, the route of categories of the store shall be written.
  • g:fb_product_category and g:custom_label_0: the names of the corresponding categories or routes of the store, separated by a party.

Practical rules#

  • Compare first final subcategories (e.g. Children's > Beds > Beds), not just parenting. These define the g:google_product_category.
  • If a product belongs to many categories, check that the deepest is the right one. With Yoast, Rank Math or The SEO Framework the main (primary) category is taken into account.
  • After mapping run Test export and check the category fields in 2–3 products.

Article: Correlation of categories →

8. Product sets and custom labels

How to create product sets by category in Meta using custom_label_0 and fb_product_category, and how to add your own labels.

The product sets are subsets of the list, e.g. Bridal crowns or Tenders, you use in catalogue ads. Meta makes them with filters on the feed fields.

Product sets per category#

  1. Make sure your categories have correct names and mapping. The feed writes the category of each product in custom_label_0 and fb_product_category.
  2. In Commerce Manager open the catalogue → product sets → create new.
  3. Set filter in customer label 0 field with operator contains and honor the name of the category.
  4. Save and check the number of set products.

Use contains instead of equal, because a product in many categories has many party-separated prices.

Your own labels#

For labels such as season, offer or best seller need to add tag through filter obs_facebook_xml_append_xml, e.g. g:custom_label_1 from a field or label of the product. Such adjustments are implemented by OBS upon request.

Frequent error#

If a set is empty or has the wrong products, open XML (button Open on card Feed URL) and see exactly what the custom_label_0 for a product. Meta's filter must match this text, and Meta needs a new download of feed to see changes.

Article: Product sets and custom labels →

9. Images, variants and prices

How variants, main and additional images and VAT prices are exported to WooCommerce's Facebook XML feed.

Variations#

  • Each variant of a variable product is exported as a separate item with its own g:id, price, availability, color and size.
  • All variants have a common meaning g:item_group_id (the parent product ID), so Meta can show them as options for the same product.
  • The title is composed of Product Name Author (Product Name Composer). You can add e.g. the color to the title of variants.

Pictures#

  • g:image_link: the image of the variant or, if not, the main image of the product, in full size.
  • g:additional_image_link: the images of his gallery parent product, separated by party. They are the same in all variations.

If you want different additional images per color, you need to adjust the output from OBS. The main image of each variant is already exported correctly, as long as it is set in the variant.

Prices#

  • g:price: the normal VAT price in the form of EUR 43.40.
  • g:sale_price: the current VAT price. When the product is not on offer, it is equal to the normal price.
  • Prices are calculated with WooCommerce taxes, regardless of whether you display prices with or without VAT at the store.

Variations without value in WooCommerce are exported at zero value and rejected by Meta. Complete value in all variants or hide them. Filters and exception.

Article: Images, variants and prices →

10. Test export and feed control

Run Quick test export to a few SKUs, check prices, variants, images and categories in Facebook XML and then create the full feed.

Sample test#

  1. In Tab Advanced write to Test Export SKU Filter 3–5 SKUs, one per line: simple, variable, in bid, out of stock. Press Save.
    ‘Advanced’ tab with product limit and test export list SKUs
    ‘Test Export SKU Filter’ with one SKU per line.
  2. Press Test Export top right or Quick test export The OverviewThe extraction runs in the background (Action Scheduler) and completes in about 5 seconds, so XML can appear shortly after pressing the button.
  3. Open the file with Open on card Feed URL (after the Quick test export no other link appears).
    The facebook.xml file opened in the browser
    XML file opened in the browser.

If you do not give SKUs, the first products are exported until the first product has been stored. Test Export Product Limit (default 10). If the SKUs are not found, it appears No products found with the specified SKUs.

What are you doing?#

  • Prices with VAT at g:price and g:sale_price.
  • Public g:item_group_id variations and correct color/size.
  • Images opened with HTTPS.
  • Category in g:google_product_category and g:custom_label_0.
  • Brand on all products.
  • Description without shortcodes or strange characters.

After the test: full feed#

The Quick test export write the sample in the same filefacebook.xml. If Meta downloads it at that time, she'll only see a few products. Press immediately after Generate feed now and check that the time has been updated Last successful export.

Freshness check#

Change the price or stock of a product, re-create the feed, ask Meta to download and confirm the change in the catalogue.

Article: Test export and feed control →

11. Filters and excluding products

Exclude from Facebook feed products out of stock, entire categories, brands or individual products with plugin settings.

The feed only enters published products. Everything else you check from the settings.

Stock#

The Required Setup activate it Observance of products outside of stock (Skip Out-of-Stock Products) or Receipt of product order (Skip Backordered Products). Variables only exclude variants not available. If you keep them on feed, Meta shows them as unavailable and does not advertise them in the ads.

Categories and brands#

  1. In Tab Filters (Filters) select in Includes category (Include Categories) The categories you want exclusive, or in Exception of categories (Exclude Categories) those you want excluded.
    The ‘Filter’ tab with the fields of inclusion and exclusion of categories and manufacturers
    The ‘Filters’ tab (in Greek ‘Filtra’).
  2. For brands set first Manufacturer Properties (Brand Attribute) and save. Then the results appear. Includes manufacturer (Include Brands) and Exception of manufacturer (Exclude Brands).
  3. Press Save and Generate Feed.

Individual product#

In the treatment of the product, in the context of OBS Facebook XML Product VisibilityCheck. Hide from OBS Facebook XML (Hide from OBS Facebook XML) and press Update. The option only concerns Facebook feed; the other OBS feeds have their own can.

The OBS Facebook XML Product Sustainability box in the right column of product processing, with the checkbox "Hide from OBS Facebook XML"
The box "OBS Facebook XML Product Visibility" in the right column of the product.

With your own field#

The Overrides → Meta Product Description (Skip product meta) write a meta key and exclude products at a price of 1 on it. When completed, it replaces its control. Hide from...So the can in the products is no longer counting.

After each filter change, re-create feed. Meta removes products from the catalogue once the new file is downloaded.

Article: Filters and product exception →

12. Errors and Diagnostics in Meta

Commerce Manager's most frequent errors for WooCommerce feed: link that does not work, XML line error, values, categories, images.

After each download, the catalogue shows the products with problems in Diagnostics. Start with what is involved in many products.

Common Messages#

  • The feed link is not working. Open Feed URL from browser. If it does not load XML, re-create feed. If it loads, firewall, CDN or basic auth blocks Meta; allow access to /wp-content/uploads/obs-xml-export/.
  • Error on a specific XML line. Open the file, go to the line, find it g:id the product and correct title or description (special characters, page builder code).
  • It's a price problem. Check that the product has a normal price. The feed writes the prices as EUR 43.40· if Meta reports a form of value, OBS changes the format to the filter obs_facebook_xml_custom_regular_price.
  • Wrong or invalid accusation. The deepest category of the product has no mapping and the shop route was written. Comparing categories.
  • There's no brand missing. Here they are. Manufacturer Properties (Brand Attribute) or Default Manufacturer (Default Brand).
  • Image that does not load or is small. Check that the image opens with HTTPS without login and that it has sufficient resolution.

Products that do not appear#

If a new product is not shown, check in order: is published; has a price; is not excluded from filters or from Hide from...? has a new export and new download been made from Meta after its creation?

In the request for support, send out the Diagnostics export, 2 product codes and the time of the last export.

Article: Errors and Diagnostics in Meta →

13. Common problems and solutions

Solutions for the most frequent issues on Facebook feed: list not updated, missing products, wrong category, images of variants, zero prices.

The list does not get new products#

Reason: the feed is not re-created (does not run cron) or Meta cannot download it. Solution: Check the time Last successful export, add server cron and make sure Feed URL opens as XML. See Feed URL and cron.

Feed does not have all products#

Reason: export stopped due to memory or time, filters exclude products, or once done Quick test export, writing a sample in the same file. Solution: Generate feed now, PHP memory 256M or more, Status (Mode) Sections (Chunk) for large catalogues and control of Filters (Filters).

Wrong Google category in some products#

Reason: the deepest category has no mapping, so the shop route is written. Solution: match all final subcategories on the page OBS Facebook XML Category Mapping.

Same additional images in all variants#

Reason: The additional_image_link is taken from the gallery of the parent product. Solution: set main image in each variant; for gallery per color request adaptation from OBS.

Zero value in variants#

Reason: variations without price in WooCommerce or old version. Solution: update the plugin and fill in values in all variants.

The description doesn't come out#

Reason: The Product description (Product Description) is Brief description and the products have no short description. Solution: select Full description and re-create the feed.

XML Line Error#

See Errors and Diagnostics.

The license box appears again#

Reason: the license check has not been completed or changed. Solution: activate the key again; if it insists, open request. Feed continues to be produced normally.

In the request send WordPress, WooCommerce, PHP and plugin versions, Feed URL and 2 product codes. Do not send passwords within the message.

Article: Troubleshooting →