[WordPress] 外掛分享: PolarOne SKU Validation for WooCommerce

首頁 › 外掛目錄 › PolarOne SKU Validation for WooCommerce
WordPress 外掛 PolarOne SKU Validation for WooCommerce 的封面圖片
全新外掛
安裝啟用
—
尚無評分
6 天前
最後更新
—
問題解決
WordPress 6.5+ PHP 7.4+ v1.0.1 上架:2026-11-17

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「PolarOne SKU Validation for WooCommerce」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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.

延伸相關外掛

文章
Filter
Mastodon