GuardHQ
A CatalogGuard guide

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:

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.

  1. 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.
  2. 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.
  3. Leave "Every restorable field" ticked. A deleted product comes back whole or not at all.
  4. 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.
  5. 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:

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