跳到内容

PolarOne SKU Validation for WooCommerce

v1.0.1

PolarOne · 2026年11月18日 上架

Live SKU validation, character replacement rules, uniqueness checks and a catalog health scanner with backups for WooCommerce.

正在使用
10 以下
评分
暂无
累计下载
121
最近更新
2026年11月19日
需要 WordPress 6.5+已测试到 7.1.5PHP 7.4+

贡献者

截图

Language presets and custom replacement pairs.
Language presets and custom replacement pairs.
Allowed character filter, space handling and letter case.
Allowed character filter, space handling and letter case.
Live SKU check on the product edit screen.
Live SKU check on the product edit screen.
Database health scanner with suggested fixes.
Database health scanner with suggested fixes.
Backup history and selective restore.
Backup history and selective restore.

PolarOne SKU Validation for WooCommerce controls the format of product SKUs, prevents duplicates and automatically replaces characters while products are entered or imported.

By default WooCommerce accepts any characters, spaces and letters from any alphabet in a SKU. This can cause problems in integrations with ERP systems, CRMs, marketplaces and other external services. This plugin lets you define what a valid SKU looks like and cleans everything else.

Live validation on the product edit screen

  • Shows the status of the SKU while you type: checking, available or error.
  • Prevents saving the product from the edit screen while the SKU is invalid or taken.
  • Replaces spaces with an underscore (_) or a hyphen (-), removes them, or allows them.
  • Converts letters to UPPERCASE or lowercase, or keeps them as entered.
  • Warns about letters that have no replacement rule instead of silently removing them.
  • Works with simple, variable, grouped and external products, including variations — every product type that uses the standard WooCommerce product screen.

Database scanner and backups

  • Scans products and variations for duplicate and invalid SKUs (in batches, so large catalogs are fine).
  • Live search by ID, title or SKU.
  • Fixes only the products you select; the new SKU is always calculated on the server.
  • Shows the reason for each problem: invalid format, duplicate SKU or letters without a replacement rule.
  • Keeps the original SKU as a backup before the first fix and restores it in one click. Products whose SKU cannot be repaired automatically are listed but never touched.

Server-side validation (optional)

When enabled in the settings, SKUs that are changed by a save are validated on the server: CSV import, REST API, ERP/CRM sync and the admin editor all go through the same rules.

  • Auto-Fix mode cleans the SKU and makes it unique (a suffix is added when the cleaned value is already used).
  • Strict reject mode keeps the previous SKU and writes a warning to the WooCommerce log (WooCommerce > Status > Logs, source po-sku-validation).
  • A SKU that cannot be cleaned without losing information (it would become empty, or contains letters without a replacement rule) is not saved; the previous value is kept and a warning is logged.
  • Works through the standard WooCommerce save functions; direct database writes by third-party code are not intercepted.
  • Existing SKUs are not rewritten by unrelated product saves.

Rules and replacement settings

  • Custom replacement pairs for characters and letters.
  • 15 language presets that you can edit after loading: Cyrillic (GOST and ISO 9), Ukrainian, Belarusian, Bulgarian, Macedonian, Serbian, Greek, Armenian, Georgian, Kazakh, Hebrew, German, Polish and European accents.
  • Interactive toggles for 28 special characters.
  • Letter case: keep as entered, UPPERCASE or lowercase.
  • Optional custom regular expression.

The plugin loads its scripts only on the product edit screen (when the live check is enabled) and on its own settings page. Nothing is loaded on the public side of your site.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums