Chiseiko Essential Swatches
Importing Swatches From a Plugin Chiseiko Does Not Know
Chapter 27 covers the swatch plugins Chiseiko Essential Swatches knows by name. What if your colors or images were saved by a plugin that is not on that list, an older plugin, or a custom setup your developer built? Chiseiko looks for those too. It shows what it found, you check the numbers, and you decide.
Everything in this chapter is part of the free plugin.
What Chiseiko Looks For
On the settings screen, Chiseiko checks each of your product attributes (Color, Size, Material and so on) for a saved color or image on its terms that has no Chiseiko swatch yet. A saved field counts as a swatch when:
- it is on at least two terms of the attribute, and
- every value in it is a hex color such as
#708238, or every value is an image from your media library (an image ID, or the web address of a library image).
Text, a mix of colors and words, a single term, and images stored on another website are left alone. Fields of plugins Chiseiko already knows (Chapter 27), Chiseiko's own fields, and WooCommerce's own are never offered here.
The check runs only in wp-admin, when you open the settings, and the result is remembered for an hour. It costs your shoppers nothing.
If you add or change data and want Chiseiko to look again right away, press Scan again for fields of other plugins under the cards. It checks your attributes now instead of waiting for the hour to pass.
On a store with a very large amount of term data, Chiseiko reads only the first part of it and says so under the cards (Chiseiko checked only the first part of it). A field may then be missing from the list. For a field made of web addresses, it checks the first 50 different addresses against your media library, so the rest of that field is a sample, which is one more reason to check the Ready to import number before you press Import now.
Why It Never Imports On Its Own
For the plugins in Chapter 27, Chiseiko knows exactly what each saved field means, so it imports automatically. For an unknown plugin it can only guess: a hex field could be a swatch color, or it could be the text color of a banner. So a discovered field is never imported until you press Import now.
Review and Import
Open WooCommerce → Settings → Chiseiko Essential Swatches Settings → Import From Another Swatch Plugin. Each field found gets its own card, named Unknown plugin (field _atelier_swatch_hex) after the saved field:

| Number | Meaning |
|---|---|
| Ready to import | Swatches Import now would create |
| Attributes | Attributes those swatches belong to |
| Already imported | Swatches copied before |
| Set by you (kept) | Swatches you set up in Chiseiko — never overwritten |
Check that the count matches what you expect, then press Import now. The import works exactly like the one in Chapter 27: the data in the old field is only read, never changed, and your own Chiseiko swatches are never overwritten. The result appears under Last import, and the change is added to the Sync history.
When an Attribute Has Several Candidate Fields
Sometimes one attribute holds more than one color field, for example _atelier_swatch_hex and _atelier_shade_hex. Chiseiko cannot tell which one is the swatch, so it imports nothing for that attribute until you choose.

- Look at the sample values next to each field (a few term names with the color or image saved for them).
- Select the field that holds your swatches.
- Press Use this field.
The chosen field now gets its own card with the usual numbers and Import now. The other field is ignored for this attribute.
Undoing It
Undo import under Last import removes the swatches the import added, and only those, exactly as in Chapter 27. Swatches you edited in Chiseiko since are kept. The old field is untouched, so you can import again whenever you like.
Turning It Off
Developers can switch discovery off with the chiseikoessw_swatch_discovery_enabled filter, or exclude fields with chiseikoessw_swatch_discovery_excluded_keys. From the command line, wp chiseikoessw swatch-import --status lists discovered fields (and attributes needing a choice), and --source=discovered:<field> imports one.