Service
Report products that haven't sold in 12 months
You see which products never sell, so you can clear the clutter from your categories.
ProPaid version
What it replaces: 1-2 h of writing and checking database queries
list active products with stock that haven't been in any paid order since 2025-10-01. reference, name, category, stock, date added
What the chat does
- The chat checks the shop's sales records for products without sales in 12 months.
- It shows you how it will search before running it; nothing changes.
- It gives you the list and suggests next steps, such as hiding products or moving them to an outlet, each with its own approval.
The problem
We have 3,000 products and I suspect a third never sell. They clutter categories and nobody wants to check by hand.
What you get
A list of dead stock you can act on. The report itself changes nothing.
You stay in control
The chat only reads. Nothing in your shop changes. Reading here needs no switch; any change would need the Service switch, which turns itself off after 3 hours.
Related use cases
For developers
- Area
- 5 · Service
- In TellMyShop Free
- no, paid version only
- For
- Store owner, Agency / freelancer, Developer
- Tools
- ps_db_query, ps_get_product_sales, ps_set_product_redirect, ps_set_product_categories
Step by step
- Reading needs no switch, only a TellMyShop Pro licence.
- Order tables count as customer data in TellMyShop, so the query needs the owner's customer-data level set to pseudonymised (or full). With pseudonymisation the result list may contain only plain columns and COUNT/SUM/AVG, which is enough here. With customer data off, the chat falls back to comparing ps_get_product_sales with the product list.
- Writes one read-only SELECT on product, stock_available, order_detail and orders (valid states, date filter), shows it, then runs it with ps_db_query (max 200 rows per call, paged).
- Suggests next steps as separate catalogue actions, each with a preview: switch off with a redirect (ps_set_product_redirect) or move to an outlet category (ps_set_product_categories).
Safety
Service work (files, database, settings) runs only while the Service switch is on; it turns itself off after 3 hours, and the owner gets an e-mail when it is switched on. ps_db_query runs one statement in a read-only transaction and returns at most 200 rows, with e-mails, phones and IPs masked. Staff, permission, configuration and connector tables are blocked. Tables with customer personal data (orders, addresses, carts and similar, detected by their columns, also in third-party modules) follow the customer-data level set by the owner: off (blocked), pseudonymised (personal columns masked; only plain columns and COUNT/SUM/AVG, no aliases, functions, UNION or WITH) or full for 1-24 h with a stated purpose.
Last updated: 2026-10-25