WooCommerce
CoreFeeds reads your WooCommerce shop with a read-only key: it can never change anything in your store.
1. Create a read-only key
Section titled “1. Create a read-only key”In your WordPress admin, open WooCommerce > Settings > Advanced > REST API > Add key. Pick a user, set Permissions to Read, then click Generate API key. Copy the Consumer key (ck_…) and the Consumer secret (cs_…): WooCommerce shows the secret only once.
2. Add the source
Section titled “2. Add the source”- In Sources, set Import method to WooCommerce store (REST API).
- Fill in the Store URL (
https://only, for examplehttps://shop.example.com), the Consumer key and the Consumer secret. - Choose the Rows:
- One row per variation (for Google Shopping, Meta and most marketplaces): each size or colour is its own product, linked to its parent by
item_group_id; - One row per product: values that differ between variations are joined with the Separator (
|by default), and the price is the lowest one.
- One row per variation (for Google Shopping, Meta and most marketplaces): each size or colour is its own product, linked to its parent by
- Tick the Product statuses to import: Published by default.
- Click Save and import.
The columns you get
Section titled “The columns you get”Among others: id, sku, name, description and description_text (without HTML), prices and sale dates, stock, weight, categories (full paths such as Clothing > Shirts) and category, brand, image_link and additional_image_links. Each product attribute gives an attr_ column (for example attr_color) and each custom field a meta_ column.
If the store fails
Section titled “If the store fails”On many hosts, a large page of products can exceed the store’s memory or time limit, and the store answers with an error (HTTP 500). CoreFeeds retries with smaller pages on its own. If it still fails:
- look in WooCommerce > Status > Logs on the store for an error at that time;
- ask your host to raise PHP’s memory or time limit;
- set Products per request to 25 or 10 in the source settings, and raise its timeout.