Linux 软件免费装
Banner图

WriteLeash

开发者 duyytrann
更新时间 2026年11月13日 23:46
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce variations stock prices undo

下载

0.2.2 0.2.0 0.2.1 0.3.0

详情介绍:

A wrong percentage, a CSV, or an AI agent changing price or stock can be a costly error. A bulk price change stays in Preview until you approve it. A restricted AI agent or automation account can change price or stock only inside a grant you already issued, and only on the monitored paths. Leash a restricted AI agent or automation account Use this for an assistant account or a scheduled job. Grants stay off until issued. You choose the user, products, price or stock limits, budget, and expiry. Ordinary price jobs do not change stock. Inventory means stock quantity and stock status on that grant. Stock Undo is not supported. Pause, revoke, and remove-restriction do not fall open. The account cannot remove its own restriction. Cron counts only when it runs as that restricted user. A system cron on user 0 is outside the grant. Administrators who are not on the grant are outside it. This is not protection for every WooCommerce write. See the price before it goes live Choose published simple products or variations. Preview Regular Price and Sale Price, then approve separately and Apply. Walking away from Preview changes nothing. The Preview CSV is the saved Preview, not live data. Keep the newer price If the stored price WriteLeash is changing or another checked setting no longer matches the preview, WriteLeash leaves the newer value alone and marks that product as a conflict. A later price or setting change becomes a conflict instead of a blind overwrite. The product name, SKU and category are reference details only; changing them alone does not conflict. A Regular Price change preserves a later Sale Price or schedule where valid. A nonblank Sale Price target must stay below Regular Price; Clear and sale discounts check the reviewed Regular Price basis. Undo an eligible price History shows results, conflicts and whether Undo is available. Undo restores eligible stored regular- or sale-price values that WriteLeash previously applied when the saved details and the current product state permit it. Failed current checks leave the product alone as a conflict. Regular Price Undo preserves later sales where valid; Sale Price Undo checks its recorded Regular Price. Availability does not guarantee restoration. Stock Undo is not supported. Undo does not reverse orders, completed sales, emails, webhooks, remote requests, external queues or other plugins' effects. Changes you can make Set a price, add or subtract a fixed amount, or change by a percentage. Choose Regular or Sale Price. A variable parent means its variations, or choose variations individually. Category selection includes direct members unless nested subcategories are explicitly included. A Regular Price change preserves the existing Sale Price and schedule. Set adds a first Sale Price, or calculate a discount from each reviewed Regular Price. Clear makes Sale Price blank, not zero, and keeps its dates. Price changes do not change sale dates, stock or orders. Optional .99/.95/.90/whole endings pass the same safety limits; Clear ignores them. Filter by an inclusive stored Regular or Sale Price range; both endpoints count, and blank sales never match. Variations use their own prices. Exclude products or variations before approval; confirmed exclusions stay out of Apply and Undo. Preview shows before-and-after prices, warnings and explained skips. Unsafe items are skipped where possible; a safety-limit blocker refuses the whole Preview. Planned stored prices are not guaranteed shopper prices. Set product-count, increase/decrease and zero-price limits, then approve separately to Apply the reviewed targets; changed settings need a new Preview. Follow live progress or return later; Resume stalled work without repeating completed changes.

安装:

  1. Install and activate WooCommerce on a pair named under Requirements.
  2. Install and activate WriteLeash.
  3. Open Products → Bulk Prices.
  4. Select products, price field and operation.
  5. Review Preview prices and warnings, then approve separately and Apply.

屏幕截图:

  • Exact before-and-after Preview of Regular & Sale prices (including variations).
  • Live background job progress with Resume.
  • Conflict protection: newer price is kept instead of overwritten.
  • History + eligible Undo within 30 days.
  • Safety limits: max products, max % increase/decrease, block zero prices.
  • Restricted agent: $40.00 to $49.99 is blocked. The price stays $40.00.

常见问题:

Can I change sale and variation prices?

Yes, within What is supported above. Sale targets must stay below Regular Price; regular targets must remain above an existing sale.

What happens if a price changes after Preview?

Checks can refuse a change. A later price or setting change becomes a conflict instead of a blind overwrite. Review conflicts in a fresh Preview with separate approval. Changes away and back may not be detected.

Can I review without changing prices?

Yes. Preview and its CSV change nothing and approve nothing. Walking away changes nothing.

Can Undo reverse everything?

No. Only confirmed eligible prices can be restored; missing evidence, ineligible products, changed values, uncertainty or expiry can prevent it. Orders, sales and external effects are not reversed. Stock Undo is not supported.

Should I back up before a large update?

Yes. Back up and test on staging first; Preview and Undo do not replace backups. WriteLeash creates no backups.

更新日志:

0.3.0 0.2.2 0.2.1 0.2.0 0.1.0