Sales
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.
ProPaid version
Ready job: Clean up after a promotion
What it replaces: 1-2 h of hunting down leftovers
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
What the chat does
- The chat 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.
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 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
For developers
- Area
- 2 · Sales
- In TellMyShop Free
- 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
This needs the Sales switch in the module panel, which stays on until you turn it off. 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-25