Clean up after a promotion
After the sale the shop is back to normal prices and texts in one go, with nothing left running by accident.
What it replaces: 1-2 h of hunting down leftovers
What you write to Claude
„black friday is over. find everything we set up for it, switch off what's still running, put the category texts back and tell me what's left”
The problem
Two weeks after Black Friday customers still see 'BF' in category texts, an old code still works and nobody knows which discounts are left.
What Claude does
- Claude finds every promotion, code and text change made for the campaign.
- It shows what is still active and what has already ended by itself.
- After your yes it switches off what's left and puts the old texts back.
- It reports how the campaign sold, so you have numbers for next year.
What you get
No campaign discount, code or text is left behind, and you get a short sales summary of the promotion.
You stay in control
You see every change before it is saved, nothing happens without your yes, and you can undo it later. Prices, discounts and stock stay switched off until you turn them on, and unusually large changes need an extra confirmation.
Related use cases
- Get the whole shop ready for Black Friday
- Deactivate expired and used-up voucher codes
- Undo a batch of changes
- Prepare a Black Friday campaign across the shop
For developers
- Area
- 2 · Commerce
- Connector
- daily connector
- In the free Audit
- no, paid version only
- For
- Store owner, Marketer / SEO, Agency / freelancer
- Tools
- ps_list_changes, ps_manage_catalog_price_rules, ps_manage_specific_prices, ps_manage_cart_rules, ps_revert_change, ps_get_product_sales, ps_get_ready_job
Step by step
- Finds the campaign's operations with ps_list_changes (date range).
- Lists rules and promotions still active with ps_manage_catalog_price_rules and ps_manage_specific_prices (action list), and codes with ps_manage_cart_rules (action list).
- Deactivates leftover codes with ps_manage_cart_rules (action set_active; used codes are never deleted) and removes leftover rules and promotions with action delete, each with preview.
- Restores category texts with ps_revert_change on the campaign's operation IDs; the preview shows if someone edited them since.
- Summarises the campaign with ps_get_product_sales (compare_previous).
Safety
Commerce (block 2) runs on the daily connector, is off after installation and has its own switch. Claude acts as the connector's PrestaShop employee, so the action must also be allowed in that employee's profile. Every write shows a preview, runs only after your approval (single-use token valid 30 minutes, blocked if the data changed in the back office in the meantime), is logged in the change history and can be undone with ps_revert_change. Reverting overwrites later edits to the same field; the preview shows them first.
Last updated: 2026-10-05