Restore deleted products
Shopify's own answer comes first, because it is short: "When you delete a product, it's permanently removed from Shopify. Deleted products can't be restored." (Adding and updating products). There is no bin and no grace period. The only thing that brings a deleted product back is a copy taken before it was deleted.
If the products are already gone
An app you install today cannot see what was deleted yesterday, and that includes ours. What may still hold your data:
- A product CSV export, if you made one. Importing it creates the products again; Shopify notes that the image files are not in the CSV (Exporting products).
- Your supplier's product file, for the titles, SKUs and prices.
Then the question is how to make sure it cannot happen twice. That is the rest of this page.
With a snapshot: how a deleted product comes back
CatalogGuardHQ (CatalogGuard below) takes a snapshot of your catalogue every night at 2:00 in your store's time zone. When a product in a snapshot is no longer in your store, a restore recreates it.
- Find the night. Each snapshot's page lists what changed since the snapshot before it. A deleted product shows there as "product removed", so the snapshot you want is the one before that.
- Choose the scope. On the Restore page pick that snapshot, then "A list of products" and type the product's handle. Handles are looked up in the snapshot, so a product that no longer exists is still found. For several products, list their handles one per line. "The whole catalogue" is a scope too; the preview then also lists the other differences since that snapshot. In Safe mode, the default, a field you changed after the latest snapshot is left as it is and named; the rest go back with it.
- Leave "Every restorable field" ticked. A deleted product comes back whole or not at all.
- Preview. Nothing is written yet. The preview names each product it would recreate ("product, with a new id") and every other value it would change.
- Apply. The product is created again with its handle, title, description, vendor, type, tags, status, options, search listing and metafields; its images are re-added from their stored addresses; then its variants, in order, with their SKUs, barcodes, prices, costs, the stock at each location and their metafields. Every write is read back from your store.
Deleted variants of a product that still exists come back the same way.
What comes back different
Better told now than found later:
- A new id. Shopify assigns ids, so a recreated product and its variants get new ones. Order history and anything that pointed at the old id do not follow. The handle, and so the product's address in your store, comes back with it. If a product in your store has that handle now, CatalogGuard takes it for the same product added again: nothing is recreated, the snapshot's fields are restored onto that product, and the report says so.
- Not published. Which sales channels a product was published to is not captured. A recreated product is published nowhere until you publish it.
- Images Shopify no longer has. Images are kept by reference. If Shopify has removed the file since, that image cannot come back, and the report names it.
- Collections. A recreated product is put back into the hand-picked collections the snapshot held it in. Automated collections follow their own rules. A deleted collection is not recreated.
- Not captured. Videos and 3D models, the product category and a few others, all listed on the app's Coverage page before you ever need a restore.
Nothing of yours is deleted by a restore, and an undo deletes nothing either: if you undo a restore, the values it changed go back, and the products it recreated are kept and named in the report. A restore removes two things only, and the report says so: a product that a hand-picked collection holds now and the snapshot did not list there is taken out of that collection (the product itself stays), and a product or variant the restore created itself seconds earlier and could not complete is removed again.
Start on the Free plan
The Free plan takes the nightly snapshot and keeps snapshots for 7 days, so on Free a deletion has to be noticed within the week; the paid plans keep 30, 90 and 365 days. One restore on Free recreates up to 20 deleted products or variants and touches up to 100 products. The preview, the read-back and the undo are on every plan.
Install CatalogGuardHQ from the Shopify App Store Read the manual