A WooCommerce store can fill a Meta catalog three ways: Meta's own plugin, a feed file that Meta fetches, or the Catalog Batch API. The usual complaints after setup are a sale price that does not show, a sold-out variation still being advertised, and a field warning across half the catalog. Each traces back to where WooCommerce keeps a value and whether the sync path reads it.
This guide compares the three paths, maps the WooCommerce fields to Meta's, and goes through the problems that follow.
SnowPipe's WooCommerce source and Meta destination are both in beta. Their limits are at the end, and you can try it free.
How WooCommerce data ends up in Meta
1. Meta for WooCommerce (the official plugin)
The plugin long known as Facebook for WooCommerce is now listed as Meta for WooCommerce, published by Facebook. You connect a Meta business account and choose what to sync. WooCommerce's documentation for it says products "will be synced any time a new product is created or an existing product is changed", and that its feed generator "processes the catalog in batches in the background". Note that the WooCommerce.com page is no longer updated. The WordPress.org listing is the current one.
Start here for a store that uses WooCommerce's standard fields. Test it against any custom field you need (a brand in a plugin taxonomy, a GTIN in ACF) before you depend on it.
2. A hosted feed file
A feed plugin such as Product Feed PRO or CTX Feed builds an XML or CSV file at a public URL, and Meta fetches it on a schedule. Commerce Manager offers hourly, daily or weekly fetches, and no faster than hourly.
Meta has two schedule types. A replace schedule swaps the whole feed and deletes products missing from the new file. An update schedule adds and updates only, and deletes a product when you send a delete field set to true.
You control the mapping, and the same plugin can feed other channels. The file is built by your WordPress server, so a large catalog takes longer to generate, and the URL has to answer whenever Meta fetches it.
3. The Catalog Batch API
The Catalog Batch API accepts CREATE, UPDATE and DELETE requests at POST /{catalog_id}/items_batch, up to 5,000 items per call, and processes them asynchronously. Meta describes it as the route for "near real-time updates".
You send only what changed and deletes are explicit. You also have to build or buy the integration, and to push changes as they happen you need a listener for WooCommerce webhooks.
Where WooCommerce stores the fields Meta needs
wp_postsholds the product (post_title,post_content,post_status). Variations areproduct_variationposts with the parent aspost_parent.wp_postmetaholds_regular_price,_sale_price,_sku,_stock_status, the image references, and any Advanced Custom Fields values.- Taxonomies hold categories (
product_cat), tags (product_tag) and brands. - Variation attributes are postmeta on the variation, such as
attribute_pa_color.
Brand and GTIN are the two to look for. Recent WooCommerce versions have a core product_brand taxonomy and a core GTIN field stored as _global_unique_id. Older stores keep them in a plugin's taxonomy or meta key. The WooCommerce to Google guide has the full field map.
What Meta requires in a catalog
Meta documents the fields in its developer reference and its Business Help Center page. The limits below are the ones both pages give.
| Field | Notes |
|---|---|
id | Stable and unique. Use the variation post ID, or the product post ID for a simple product. |
title | Up to 200 characters. |
description | Up to 9,999 characters of plain text. |
availability | in stock or out of stock. |
condition | new, refurbished or used. |
price | A number, a space and the ISO 4217 code: 19.99 USD. |
link | The product URL. |
image_link | JPEG or PNG, at least 500 x 500 pixels, under 8 MB. |
brand | Up to 100 characters. |
Optional and worth sending: gtin or mpn, sale_price with sale_price_effective_date, product_type, a category in google_product_category or fb_product_category, and additional_image_link.
Variation handling
WooCommerce's parent and variation model has to become one Meta item per variation:
- Each variation is one item with its own
id,price,availabilityandimage_link. - Every variation of a product carries the same
item_group_id. Use the parent's post ID. - Fill
color,size,genderandpatternfrom the matchingattribute_pa_*meta. Other attributes go inadditional_variant_attribute.
Mapping WooCommerce fields to Meta fields
| Meta field | WooCommerce source | Gotcha |
|---|---|---|
id | Variation post ID, or product post ID | Do not use the SKU if SKUs get reassigned. |
title | post_title plus the variation's attribute labels | |
description | post_content | Run strip_shortcodes() and then wp_strip_all_tags(). The second alone leaves shortcodes such as [vc_row] in the text. |
availability | _stock_status | instock is in stock and outofstock is out of stock, with spaces. For onbackorder, pick the one that matches whether a shopper can buy it today. |
price | _regular_price plus the currency code | During a sale price stays at the regular price. |
sale_price | _sale_price, when today is inside _sale_price_dates_from and _sale_price_dates_to | A sale scheduled for next week is not active yet. |
link | get_permalink() of the variation | The variation URL opens the page on that variation. |
image_link | The variation's _thumbnail_id, else the parent's | Send the full-size file. Without the fallback, variations with no image of their own have no image_link. |
brand | The product_brand taxonomy, a brand plugin's taxonomy, or a custom field | Depends on when the store was built. |
gtin | _global_unique_id, or an older plugin's meta key | Leave it out when empty. |
condition | new for most stores | Resale stores need a custom field. |
item_group_id | post_parent of the variation | |
color, size, pattern | Variation attribute meta | The meta holds the slug. Send the label: cobalt-blue becomes Cobalt Blue. |
Common WooCommerce to Facebook catalog problems
Image too small or not reachable
Meta requires at least 500 x 500 pixels and fetches the file from outside your network. Send the original upload, not a generated thumbnail. WooCommerce's main product image defaults to 600 pixels wide and is set under Appearance > Customize > WooCommerce > Product Images, so a theme that lowers it can put that size under the limit. Fetch an image URL from the feed with curl and no cookies to confirm it is public.
Invalid price
WooCommerce stores 19.99 and Meta wants 19.99 USD. Append the store currency. A multi-currency plugin changes what the product page shows, so make sure the feed's currency is the one a visitor sees at that URL.
The sale price does not show
The feed is sending the sale price as price, or sending _sale_price outside its date window. Send the regular price as price and the discounted one as sale_price, with sale_price_effective_date when the sale has dates.
A new variation outside its group
A variation added later with a different item_group_id is an unrelated product to Meta. Take the value from the parent's post ID every time.
Deleted products still in the catalog
A replace-schedule feed drops a deleted product at the next fetch. An update-schedule feed keeps it until you send delete as true, and the Batch API keeps it until you send a DELETE request. If your sync path does not delete, mark removed products out of stock.
What stale data costs
A catalog behind the store advertises the old price during a sale, keeps paying for clicks on a sold-out variation, and goes on showing a product you pulled for a recall. An hourly feed covers a catalog that changes a few times a day. A flash sale needs the Batch API driven by webhooks.
Where SnowPipe stands for WooCommerce and Meta
SnowPipe runs Shopify to Google Merchant Center in production. Its WooCommerce source and its Meta catalog destination are both in beta, which means they are built and tested but no merchant runs them in production yet.
Today the WooCommerce source connects with a REST API key and reads each product's core fields: name, description, prices, SKU, stock status, categories, tags and the main image. The Meta destination writes through the Catalog Batch API in chunks of 5,000 on an hourly or daily schedule.
The gaps matter for this use case. The source does not yet read variations, so a variable product arrives as its parent with no item_group_id. It does not read brands, the GTIN field or custom meta. The destination does not delete catalog items for removed products. For a variable-product store, Meta's plugin or a feed plugin is the better choice today. The Shopify to Facebook guide covers the same Meta rules for Shopify stores.
Want to try the beta on your store?
Try SnowPipe free: connect your WooCommerce store and see what the connector reads before you rely on it. Or book a 15-min demo and I'll walk you through your specific setup.