Overview
Treez Ecommerce’s CMS, Prismic has a built-in version control system that makes it easy to view, track, and restore changes made to any content document. Whether you need to roll back a headline tweak or recover an accidentally deleted section, versioning ensures your content is always recoverable.
This article walks you through:
How to access version history
What you can see in each version
How to restore a previous version
Accessing Document History
To view the version history of a document:
Open any content document (e.g., Homepage, Deals).
In the top header bar, click the "View history" link.
This opens the version history panel showing a timeline of saved versions. Each version is tied to a user action—like publishing, scheduling, or saving a draft.
What You’ll See in Version History
In the history panel, Prismic displays:
Who made the change (e.g., “Last published by Support …”)
When it happened (e.g., “Created 7 days ago”)
The option to restore that version if needed
You can click on each version to see what changed. Fields like text content, toggles, colors, and structure will be listed.
These changes can be tracked and reversed as needed.
Restoring a Previous Version
To bring back a prior version of the document:
In the version history panel, select the version you want.
Click the “Restore” button on the right.
Confirm the restoration.
This will overwrite your current draft with the older version. From there, you can publish it immediately or make new edits.
⚠️ Note: Restoring a version doesn’t auto-publish it. You’ll still need to click “Publish” after restoration if you want it live.
Editing After Restore
Once restored:
All fields return to their previous values
Draft changes can be edited and updated
You can move back and forth between versions multiple times
This makes Prismic’s versioning especially useful for testing A/B content, seasonal promotions, or troubleshooting accidental edits.