Bulk Brand Manager for WooCommerce

A comprehensive plugin to manage WooCommerce product brands in bulk. Create brands manually,
import them from CSV, and edit, find/replace, export, or delete existing brands — all from
a single powerful admin screen.

Version: 2.1
Requires: WordPress 5.0+, WooCommerce 5.0+, PHP 7.3+
Tested up to: WordPress 7.1 & WooCommerce 11.3.1
HPOS compatible: Yes


What This Plugin Does

Bulk Brand Manager gives you three tabs inside the WooCommerce Products menu — Manual Creation,
CSV Import, and Bulk Edit — so you can build and maintain your brand catalogue without clicking
through one term at a time.

It works with the native WooCommerce Brands taxonomy (product_brand) introduced in
WooCommerce 9.6+. If that taxonomy is not available, the plugin registers one automatically with
full support for parent/child relationships, images, descriptions, and slugs.


Key Features

1. Manual Brand Creation

  • Create multiple brands at once using a spreadsheet-style form (5 rows by default, add more as needed).
  • Set brand name, slug, parent brand, description, and image for each row.
  • Assign the newly created brands to any products you select via an AJAX-powered product search field.
  • Images are uploaded through the WordPress Media Library.
  • Slugs are auto-generated from the brand name if you leave them blank.
  • Keyboard shortcuts: Ctrl/Cmd + S to save, Ctrl/Cmd + Enter to add a new row.

2. CSV Import

  • Import hundreds of brands from a standard CSV file.
  • Supported columns: name (required), slug, parent, description, image_url.
  • Parent column accepts either a parent brand name or its numeric ID.
  • Images can be imported from a direct URL — the plugin downloads them into the Media Library.
  • Options to skip existing brands (by slug) or update existing brands with new data.
  • UTF-8 BOM headers from Excel are handled automatically.
  • Upload size is capped at 5 MB and only genuine .csv files are accepted.
  • A downloadable sample CSV is included in the interface.

3. Bulk Edit

  • Load all brands into an editable table with inline inputs for name, slug, description, parent, and image.
  • Save a single row with its Save button, or push Save All Changes to update every edited row in one request.
  • Select one or many brands with checkboxes and delete them in bulk.
  • See how many products each brand is used in directly in the table.

4. Find & Replace

  • Search for a string across brand names, slugs, descriptions — or any combination of the three.
  • Options for case-sensitive matching and whole-word matching.
  • Preview every change before applying — you see the old and new value for each affected brand.
  • Select or deselect individual changes in the preview table, then apply only the ones you want.
  • Replacement text is treated literally, so $1 or \1 will not trigger back-reference surprises.

5. CSV Export

  • Export every brand to a UTF-8 CSV file with a single click.
  • Exported columns: Brand ID, Name, Slug, Description, Parent ID, Parent Name, Image ID, Product Count.
  • Output is spreadsheet-formula-safe (leading =, +, -, @ characters are neutralised).
  • Filenames include a timestamp, e.g. product-brands-2025-01-01-12-00-00.csv.

6. Brand Images

  • Upload a featured image per brand from either the Manual Creation tab, the term edit screen, or the Bulk Edit tab.
  • Images are stored in the standard thumbnail_id term meta, compatible with WooCommerce core brands.
  • A legacy brand_image meta key is also written for backwards compatibility with older brand plugins.

How It Works

All bulk editing runs through a single REST endpoint:
/wp-json/wc-bbm/v1/bulk-edit-brands. The endpoint is protected by a WordPress
REST nonce and requires the manage_woocommerce capability, so only shop managers
and administrators can use it.

The plugin includes a native HPOS declaration, so it is fully compatible with WooCommerce’s
High-Performance Order Storage tables.


Developer Hooks & Filters

Every action is extensible. The following hooks are available:

  • wc_bbm_brand_data — filter the brand data array before insert/update.
  • wc_bbm_before_brand_create — fires before a brand is created.
  • wc_bbm_after_brand_create — fires after a brand is created (passes term ID and data).
  • wc_bbm_import_options — filter the CSV import options.
  • wc_bbm_csv_headers — filter the parsed CSV column headers.
  • wc_bbm_before_csv_import — fires before the CSV import loop begins.
  • wc_bbm_after_csv_import — fires after the CSV import finishes (passes summary counts).
  • wc_bbm_admin_tabs_nav — add custom tab links to the admin page.
  • wc_bbm_admin_tabs_content — output content for custom tabs.

CSV Format Reference

Header row (case-insensitive, BOM tolerated):

name,slug,parent,description,image_url

Sample rows:

Apple,apple,,"Technology company known for innovative products",https://example.com/apple-logo.jpg
iPhone,iphone,Apple,"Apple smartphone series",https://example.com/iphone-logo.jpg
Samsung,samsung,,"South Korean multinational conglomerate",
Galaxy,galaxy,Samsung,"Samsung smartphone series",
Nike,,"Sports","Athletic footwear and apparel company",https://example.com/nike-logo.jpg
  • name — required. Rows without a name are skipped.
  • slug — optional. Auto-generated from the name if empty.
  • parent — optional. Accepts a parent brand name or numeric term ID.
  • description — optional. Sanitised as textarea content.
  • image_url — optional. Direct URL to an image; it is sideloaded into the Media Library.

Requirements

  • WordPress 5.0 or later.
  • WooCommerce 5.0 or later (the plugin will deactivate itself on activation if WooCommerce is missing).
  • PHP 7.3 or later.
  • The manage_woocommerce capability to access the admin screen and REST endpoint.

Frequently Asked Questions

Does this replace the WooCommerce Brands feature?

No. It extends it. If WooCommerce’s native Brands taxonomy is available (9.6+), the plugin
uses it directly. If it is not available, the plugin registers an equivalent taxonomy with the
same name (product_brand), so switching between the two is seamless.

Will my existing brand images be preserved?

Yes. The plugin reads from the standard thumbnail_id meta key and falls back to the
legacy brand_image key, so images set by either method will appear correctly.

Can I import brands with parent-child relationships?

Yes. The parent column accepts either a parent brand name or its numeric term ID.
If neither matches an existing brand, the row is imported as a top-level brand.

Is the CSV import safe for very large files?

Uploads are limited to 5 MB. Files are streamed row by row with fgetcsv, so memory
usage stays low even for files with hundreds of rows.

Can I run Find & Replace on just one field?

Yes. Use the checkboxes in the “Search in” section to restrict Find & Replace to brand
names, slugs, descriptions, or any combination of the three.

Does Find & Replace support regular expressions?

No. It performs literal string matching. Case sensitivity and whole-word matching are
configurable, but regex syntax is not interpreted. The replacement string is always treated
as a literal value.

What happens when I delete a brand that is assigned to products?

Brands are deleted with wp_delete_term, which removes the term and its term
relationships. Products are not deleted; they simply lose their association with that brand.

Is the plugin multisite compatible?

The plugin uses standard WordPress term and meta APIs, so it works on multisite installations
where each site has its own brand catalogue.


Support

For bug reports, feature requests, or help with setup, please use the support channel provided
with your purchase. Please include your WordPress and WooCommerce versions along with a
description of the issue so we can help you faster.