Linux 软件免费装
Banner图

SapphireIT Publish Guard for WooCommerce

开发者 sapphireit
更新时间 2026年10月28日 12:54
PHP版本: 8.0 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce publishing products checklist quality control

下载

1.1.0 1.0.0

详情介绍:

A product published without a price, an image or a SKU is a half-finished listing: it sells badly or not at all. SapphireIT Publish Guard stops it 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. 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: 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. Light footprint. SapphireIT Publish Guard for WooCommerce is an independent plugin. It is not affiliated with or endorsed by WooCommerce or Automattic.

安装:

  1. Install and activate WooCommerce 9.0 or newer.
  2. Upload the plugin to /wp-content/plugins/sapphireit-publish-guard, or go to Plugins, then Add New, then Upload Plugin and choose sapphireit-publish-guard.zip.
  3. Activate SapphireIT Publish Guard for WooCommerce.
  4. Go to WooCommerce, then Product Checklist. Choose which checks run, which are required, the content thresholds and the publishing behaviour.
The settings screen is available to anyone who can manage WooCommerce (administrators and shop managers).

屏幕截图:

  • The readiness column in the products list.
  • The settings screen under WooCommerce, then Product Checklist.
  • The notice shown when a product could not be published.
  • Publishing refused, with the reason and where to fix it.

升级注意事项:

1.1.0 Variable products are now checked per variation. A variable product with an unpriced enabled variation can no longer be published while Regular price is required. Products that are already live are not changed. 1.0.0 Initial release.

常见问题:

Does it unpublish products that are already live?

No. Enforcement applies only when a product moves into Published or Scheduled. A live product that later fails a check shows the problem in its checklist and in the products list, but it is never taken offline automatically.

Can an administrator publish anyway?

Only if you allow it. Turn on "Allow users who can manage WooCommerce to publish anyway" on the settings screen. It is off by default, so nobody can publish past a failing required check.

Does it block imports, WP-CLI or cron jobs?

WP-CLI, cron jobs and requests with no signed-in user are never blocked. The WooCommerce CSV product importer and REST API clients run as a signed-in user, so their saves are checked like any other. Under the default "All signed-in requests" scope, an imported product that fails a required check is saved as a draft instead of being published. To exempt them, choose "Admin editor screens only" under "Enforcement applies to". Variable and grouped products are not blocked because their variations or linked products come later in the import file: "Variations and grouped products" is a warning by default. Scheduled publishing is the one exception to the cron rule: a scheduled product that fails its required checks when its time comes is returned to draft.

Can I limit enforcement to the admin editor screens?

Yes. Under "Enforcement applies to", choose "Admin editor screens only". The default, "All signed-in requests", also covers the REST API and code that saves products for a signed-in user.

Which product editor does it support?

The classic WooCommerce product editor, which from WooCommerce 11.0 is the only one. On WooCommerce 9.x and 10.x, where the product block editor was an optional beta, the checklist panel does not appear in it, but publishing is still enforced, because that editor saves through the WooCommerce REST API.

Does it check variations?

Yes. Regular price, sale price, SKU and stock status are checked on every enabled variation, and a variable product fails a check when any enabled variation fails it. Disabled variations are ignored. As in WooCommerce, a variation without a SKU of its own passes when the parent product has one.

Can it block a variable product that has no variations?

Yes. Raise "Variations and grouped products" to Required in the settings. It then also requires a grouped product to link at least one published product. It ships as a warning, so imports that create the product before its variations are never blocked by it.

Does it check GTIN, UPC or EAN barcodes?

Not in this plugin. The SKU check covers the identifier WooCommerce itself uses.

Can I sort or filter the products list by readiness?

Not in this version. Readiness is calculated when the list is shown and is not stored.

Can developers add their own checks?

Yes. Register a rule on the sit_wcpg_register_rules action. It gets a settings row, a checklist row and enforcement automatically. The developer documentation is in README.md inside the plugin folder.

Does it slow down the products list?

The readiness column adds three database queries for a page of simple products, and four for a page that includes variable or grouped products, whatever the page size or the number of variations.

更新日志:

1.1.0 1.0.0