
SapphireIT Publish Guard for WooCommerce
v1.2.0Md. Readush Shalihin · 2026年10月3日 上架
A pre-publish quality checklist for WooCommerce products, with optional server-side publishing enforcement.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 553
- 最近更新
- 2026年11月19日
截图








Products published without an identifier or an image can get disapproved by shopping channels, and a disapproved product earns nothing. SapphireIT Publish Guard stops them at the publish button. It checks every product against a configurable checklist of required fields before it goes live, so incomplete products never reach your customers.
It is product validation for the WooCommerce catalog you already have. A missing SKU, an empty description, a variation without a price or a thin image gallery shows up while you edit, and a product that fails a required check is kept as a draft until it is fixed.
Google expects an identifier such as a GTIN. This plugin checks the identifier WooCommerce itself has, the SKU, so a product with none is caught before it goes live.
A live checklist in the product editor. A panel in the classic WooCommerce product editor lists every check, grouped by content, media, pricing, organization and inventory. It refreshes on its own as you type, upload images or pick categories. You don’t need to save first. Each failing item links to the field that fixes it.
Twelve built-in checks:
- Product title
- Description (with a minimum length)
- Short description (with a minimum length)
- Featured image
- Product images (a minimum total count)
- Regular price (every enabled variation on variable products)
- Sale price validity (lower than the regular price, sensible dates)
- Product category (warns when only the store default is used)
- Product tags
- Variations and grouped products (a variable product needs an enabled variation, a grouped product a published linked product)
- SKU
- Stock status
Every check knows the product type. Variable products are checked variation by variation. A check that does not apply to a type, such as stock status on an external product, is shown as not applicable with the reason, instead of blocking the product. Every failure says what is missing and where to fix it, for example “Product data Variations”.
Each check can be turned off, or set to required (it must pass before the product can be published) or warning (advisory only).
Real enforcement, on the server. When a required check fails, the product is saved as a draft instead of being published, and a notice explains why. This is enforced on the server, so it also covers Quick Edit, Bulk Edit, scheduled publishing, the WooCommerce REST API and code that saves products through WooCommerce. A disabled button in the browser would not be enforcement.
A readiness column in the products list. See at a glance which products are ready and which need work.
A readiness filter across the whole catalog. A dropdown above the products list finds products that are Ready, have Warnings, are Not ready or are Not checked yet, on every page of the list and not just the one you are looking at.
Live products that would fail your rules. A screen under Products, then Publish Guard, lists every published product that would be refused if it were published today, and the required checks it fails. They stay live: Publish Guard never takes a product offline.
A dashboard for the whole catalog. WooCommerce, then Publish Guard, shows how many products pass every required check, how many are not ready, have warnings or are live and would fail today, and which required checks fail most often. Every number links to the products behind it.
A pre-flight statement in the editor. One sentence tells you whether this product can be published right now, how many required checks stand in the way, and what will happen when you press Publish.
WP-CLI. wp sit-wcpg check runs the checklist across the catalog from the command line, and --strict exits with an error when a product fails a required check. wp sit-wcpg reindex rechecks every product straight away.
Overrides are recorded. If you let some users publish anyway, each override is recorded for your records; nothing is shown or sent anywhere.
Light footprint.
- Five options (the settings, a temporary flag removed once the welcome notice has been shown, the capped override record, the progress of the background recheck and the state of the review request) and three hidden post meta keys on each product holding its stored readiness. No custom tables, roles or capabilities. All of it is removed when you delete the plugin.
- Background rechecks run through WooCommerce’s own Action Scheduler, only after something has changed, such as your settings or the plugin version. Nothing runs on a recurring schedule.
- Assets load only on the product editor, the products list, the Dashboard, the catalog screen and the settings screen, once on the Plugins screen for the welcome notice, and, when the review request is due, a small script for it on those list, catalog and settings screens. The style of Publish Guard’s screens is registered on every admin screen, so an add-on can use it, but it is loaded only on Publish Guard’s own screens.
- No outbound network requests or tracking. Publish Guard’s own screens mention the Pro add-on; nothing else in your admin does. After 30 days, and only once the checklist has stopped an incomplete product, it asks once for a review; you can dismiss it for good.
SapphireIT Publish Guard for WooCommerce is an independent plugin. It is not affiliated with or endorsed by WooCommerce or Automattic.
Credits
The admin screens use the Inter typeface, Copyright 2020 The Inter Project Authors (https://github.com/rsms/inter), licensed under the SIL Open Font License, Version 1.1. The font ships inside the plugin with its licence (assets/fonts/OFL.txt) and is never loaded from a font service.
Source Code
The editor script in build/ is compiled. Its human-readable React and SCSS sources ship with the plugin in the assets/ folder, and the full development repository is public at https://github.com/rshalihin/sapphireit-publish-guard.
To rebuild the compiled files from source, install Node.js and npm, then run:
git clone https://github.com/rshalihin/sapphireit-publish-guard.gitcd sapphireit-publish-guardnpm installnpm run build
The build uses @wordpress/scripts and writes the compiled files to build/.