WriteLeash
| 开发者 |
duyytrann
|
| 更新时间 |
2026年11月13日 23:46 |
| PHP版本: |
7.4 及以上 |
| WordPress版本: |
7.1 |
| 版权: |
GPLv2 or later |
| 版权网址: |
版权信息
|
详情介绍:
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.
安装:
- Install and activate WooCommerce on a pair named under Requirements.
- Install and activate WriteLeash.
- Open Products → Bulk Prices.
- Select products, price field and operation.
- Review Preview prices and warnings, then approve separately and Apply.
屏幕截图:
常见问题:
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
- Added opt-in restricted grants for bounded price and stock jobs. Grants stay off until an operator issues one.
- Denied monitored product writes outside a matching Execution Frame. Pause, revoke, and remove-restriction do not fall open.
- Upgrade from 0.2.2 keeps existing jobs, journals, and presets. No grant is created on upgrade. Stock Undo is not supported.
0.2.2
- Hardened apply-journal transitions so a committed change is not demoted, and improved recovery after an interrupted request.
- Refreshed permission checks before Undo. Added disabled-by-default foundations for bounded delegated price authority.
0.2.1
- Refreshed the plugin listing. No price-change behavior changed.
0.2.0
- Added live progress, Conflict to fresh Preview, presets, exclusions, Repeat, CSV export, price range, and price endings.
- Requires WooCommerce 10.0 through 11.x.
0.1.0
- Added bulk Regular and Sale price changes with Preview, background jobs, Resume, History, and eligible Undo.