ACF Category CSV Export/Import
This is a woocommerce plugin which exports and imports product taxonomy acf data
by Custom · github.com/sangeeta-code/woocommerce-taxonomy-acf-data-import-export
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/sangeeta-code/woocommerce-taxonomy-acf-data-import-export/archive/refs/heads/main.zipRequires: WordPress 5.8+, WooCommerce, Advanced Custom Fields (Pro, for repeaters) License: GPL-2.0+
Export and import the "Product Category Add-ons" ACF field data for product categories (product_cat) and consumption types (consumption-type) as CSV, mapped by category slug.
Where to find it
WooCommerce → Category ACF CSV (If WooCommerce is inactive it appears under Tools → Category ACF CSV.)
CSV Format
Columns (header row required):
taxonomy product_cat or consumption-type category_slug REQUIRED — used to match the category on import category_name informational only, ignored on import about_category_info HTML string (wysiwyg) about_category_content_block JSON array of HTML strings, e.g. ["
Block one
","Block two
"] (objects like {"content":"..."} also accepted) category_faqs JSON array of objects, e.g. [{"question":"Q1?","answer":"A1
"}] schema_json HTML/JSON-LD string (wysiwyg)Notes:
- Repeater columns hold JSON inside a single CSV cell — quoting is handled automatically by the exporter; keep it intact if editing in Excel/Sheets.
- On import, if the taxonomy column is blank the slug is searched in product_cat first, then consumption-type.
- "Skip empty cells" (default on) means blank cells leave existing data untouched. Uncheck it to allow blank cells to clear existing values.
- Always run a Dry Run first — it validates every row and reports matches, missing slugs, and JSON errors without writing anything.
Field mapping
The plugin writes using ACF field keys from the exported field group (group_6767b013be0f1), so it works even before fields are queried by name:
about_category_info field_67690f8c14543 about_category_content_block field_6767b052dd84d └ about_category_content field_67690c099d705 category_faqs field_6767b098dd84f ├ category_faq_question field_6767b0c1dd850 └ category_faq_answer field_6767b0dddd851 schema_json field_6932cb559d115
Installation
- Upload the acf-category-csv folder to /wp-content/plugins/ (or install the zip).
- Activate "ACF Category CSV Export/Import" in Plugins.
- Ensure ACF (Pro) and the field group JSON are active/imported.