| 开发者 | chiseiko |
|---|---|
| 更新时间 | 2026年12月1日 11:48 |
<select> dropdown. That quietly costs you sales:
chiseikoessw_swatch_types, chiseikoessw_swatch_term_data, chiseikoessw_swatch_button_html, chiseikoessw_surface_enabled, chiseikoessw_render_loop_swatches, and chiseikoessw_swatch_sources; actions such as chiseikoessw_before_swatch_group, chiseikoessw_after_swatch_group, chiseikoessw_before_loop_swatches, chiseikoessw_after_loop_swatches, and chiseikoessw_term_swatch_saved.wp chiseikoessw swatch-import brings swatches across from another plugin from the command line.chiseiko-essential-swatches folder to /wp-content/plugins/, or install directly from the WordPress plugin screen.Yes. Chiseiko Essential Swatches requires WooCommerce 8.0 or later (tested up to WooCommerce 11.2.1).
Yes. The free plugin includes all four swatch types, single-product and archive swatches, interactive archive swatches with AJAX add-to-cart, every layout mode, catalog mode, and mobile auto-scroll — with no caps on swatches, attributes, or products. Pro is an optional add-on for advanced features.
No. The plugin's JavaScript is vanilla-first, using jQuery only where WooCommerce requires it. Assets load only on product and shop pages, and only where swatches are switched on. Archive swatch data is cached and served via a single batched AJAX endpoint to protect server performance.
Chiseiko Essential Swatches uses WooCommerce's standard variation form hooks and does not override templates, so it is compatible with any properly built WooCommerce theme — including Classic themes, FSE block themes, and page builders (Elementor, Divi, Beaver Builder).
Yes. Local attributes automatically render as text-pill swatches. To use color or image swatches, convert them to global attributes under Products > Attributes.
Yes — they show there by default. Under "Where to Show Swatches" you can switch the shop, category, tag, and brand pages on or off separately. Turn on Interactive Archive Swatches to let customers preview variants and add to cart directly from product cards, or use Catalog Mode to show a single attribute for a cleaner grid.
Yes. Choose inline (default), accordion (collapsible panels per attribute), overflow (“Show N more” toggle), or slider. Accordion can be set to mobile-only, and the overflow limit is configurable.
Yes. Uncheck those pages under "Where to Show Swatches" in the settings — the cards then look exactly as they do without the plugin. Developers can also return false from the chiseikoessw_surface_enabled filter for a page type, or from the chiseikoessw_render_loop_swatches filter to suppress a single product.
Yes. Uncheck "Product pages" under "Where to Show Swatches". Product pages then show WooCommerce's standard dropdowns and add the chosen variation to the cart as usual, while the shop and category pages can keep their swatches. This is useful when another plugin or your theme handles product-page swatches.
No, if you use one of the swatch plugins listed in the Description, or WooCommerce's own color / image attributes. Chiseiko copies your colors, images, label and radio attributes, and the swatch shape and size the first time a store manager opens wp-admin, and shows a notice with the counts. The other plugin's data is not changed, and Undo in the notice (or under "Import From Another Swatch Plugin" in the settings) removes everything the import added. Images are matched to your media library; images stored on another site are never downloaded. Developers can import from the command line with wp chiseikoessw swatch-import and add other plugins with the chiseikoessw_swatch_sources filter.
Yes, it's safe. Chiseiko only reads your old plugin's data and never changes it, so you can switch back at any time; Undo removes only what the import added. Keep the old plugin active only while you check the result: its changes keep syncing (listed under "Sync history" in the settings), but both plugins may draw swatches. Once your swatches look right, deactivate or even delete it. Your Chiseiko swatches stay exactly as they are, and deleting Chiseiko likewise never touches the other plugin's data.
Chiseiko also looks for colors and images saved on your attribute terms by plugins it does not know. If it finds some, the settings show a card with a preview. Nothing is imported until you check the numbers and press Import now, and you can undo it. If an attribute has more than one possible field, you choose which one holds your swatches. Images stored on another website are never downloaded.
Yes. All strings use the chiseiko-essential-swatches text domain and are translation-ready.
chiseikoessw_load_term_admin_assets filter to load the swatch term-editor assets (media library, color picker) on term screens outside product attributes, such as brands.wp chiseikoessw swatch-import (--dry-run, --status, --undo, --log, --source).chiseikoessw_swatch_sources filter to add import sources; chiseikoessw_swatch_import_enabled filter for the import options; chiseikoessw_swatch_import_term (fires for imports and syncs), chiseikoessw_swatch_import_undo (term IDs, before the undo deletes) and chiseikoessw_swatch_import_done actions; chiseikoessw_swatch_discovery_enabled and chiseikoessw_swatch_discovery_excluded_keys filters for auto-discovery, chiseikoessw_swatch_discovery_row_limit filter (tests and very large stores), and chiseikoessw_swatch_term_data filter to change a term's swatch for one product.chiseikoessw_swatch_types, chiseikoessw_swatch_button_classes, chiseikoessw_swatch_button_html, chiseikoessw_swatch_group_html, chiseikoessw_render_loop_swatches, plus action hooks.