Drafts, Undo and Publishing
Undo, preview and publish your EverShop page builder changes, and know at each moment which changes your customers see.
Before you start
- You edit pages in Storefront › Page builder. To learn the editor screen, see Edit a Page with the Page Builder.
- Customers never see your draft. They see a change only after you publish it, or while a rollout plan shows it.
- Publishing cannot be undone. To take back a published change, edit the page again and publish again.
How your draft works
Your draft holds the page builder changes that you have not published yet. The editor calls a saved set of changes a changeset. Your draft is one changeset, and each rollout plan has its own.
- One draft for each admin user. Each admin user has their own draft. Other admin users do not see it.
- One draft for all pages. Your draft holds your changes on every page you edit, such as the homepage and the cart page.
- Saved on the server. Each change is saved the moment you make it. Your draft stays when you close the browser or sign out. You can continue on another computer.
- Not on the storefront. The editor canvas and the preview show your store with your draft on top. Customers see the published store.
While you edit your draft, the top bar shows New changeset. In the page list, each page with changes in your draft has the label Draft. See Choose the page to edit.
Example: a holiday homepage
On the demo store homepage, you make two changes in your draft. See Add and Arrange Widgets for how.
- You open the settings of the product list with the heading "Best sellers". You change its Heading to "Holiday best sellers".
- You delete the product list with the heading "Trending now".
| Where you look | What it shows |
|---|---|
| The editor canvas | "Holiday best sellers", and no "Trending now". |
| The preview | The same as the canvas. See Preview your draft. |
| Your storefront | "Best sellers" and "Trending now", as before. Customers see no change. |
| Your storefront, after you publish | "Holiday best sellers", and no "Trending now". |
Undo and redo
- Click Undo, the arrow that turns left, to take back your last change on this page. In the example, Undo brings the "Trending now" list back.
- Click Redo, the arrow that turns right, to make the change again.
When there is nothing to undo, the button is gray. Its tooltip then says "Nothing to undo on this page". Redo works the same way: "Nothing to redo on this page".
Undo in the page builder follows these rules:
- Each page has its own undo. Undo on the homepage takes back only your homepage changes. Some widgets show on every page, such as the announcement bar. A change to such a widget belongs to the page where you made it.
- The undo history is saved with your draft. You can still undo after a reload, or on the next day.
- A new change ends redo. After you undo, a new change on the same page removes the steps you could redo.
- Undo works in steps. The settings drawer saves a moment after you stop typing, and each save is one step. One action can also save more than one step.
- Undone changes stay out. The canvas, the preview and Publish skip them.
- Some actions have no undo: Publish, a discard, and Start new changeset. After you publish, your new draft starts with an empty undo history.
Preview your draft
- Click Preview in the top bar. A new browser tab opens with the page you are editing. It shows the page as customers will see it after you publish, without the edit toolbars.
What to know about the preview:
- One page. To preview another page, open that page in the editor and click Preview there.
- Your draft on the published store. The preview shows your published store with your draft on top.
- A secret link. The web address of the preview ends with
?changeset=and a long code. Anyone who has this link can open the preview, without signing in. Share it only with people who may see your unpublished changes. - No end date. The link shows your draft for as long as the draft exists. After you discard your draft, the link shows your published store. After you publish, your next draft has a new preview link.
Publish your draft
-
Click Publish in the top bar. You can also click the arrow next to it, then Publish now. Both open the same dialog.
-
Check the dialog Publish to the live storefront. It says how many changes go live, and how many widgets are Added, Updated and Removed. Affects lists the pages where you made the changes.
-
Click Publish now.
The editor reloads on the same page and shows a message that the changes are published. Customers see the changes on their next page load.
Publishing works like this:
- All pages at once. Publish sends every change in your draft live, on every page. To keep the changes of one page out, discard them first.
- A new draft. After you publish, you start with an empty draft.
- No way back. The yellow note in the dialog warns that publishing is immediate and cannot be undone. To take back a change, edit the page and publish again.
- Nothing to publish. When your draft has no changes, the dialog says Nothing to publish and "This changeset has no operations yet." Publish now is then gray.
To publish changes at a set time, or only for a few days, use a rollout plan. See Schedule Changes with a Rollout Plan.
Discard changes
Discarding deletes changes from your draft. The published storefront does not change.
-
Click the arrow next to Publish, then Discard pending changes….
-
Choose what to discard:
- Discard everything in this draft (selected when the dialog opens) deletes your changes on every page.
- Discard changes on this page only deletes your changes on the page you are on. This choice shows only when the page has changes.
The dialog counts changes as "ops" (operations). One op is one saved step.
-
Click Discard everything or Discard this page. To keep your draft, click Cancel.
After Discard everything, the editor reloads with an empty draft, and your old preview link shows your published store. After Discard this page, you stay on the page, and your changes on other pages stay in the draft. When no other page has changes, the editor reloads with an empty draft. A discard cannot be undone.
Continue your draft
The dialog Start a page-builder session opens when you open the editor in a new browser tab. It also opens after you publish or discard your draft. It opens only when your draft has changes, or when a rollout plan is scheduled or live.
- Go to Storefront › Page builder.
- Click Continue your draft. The line below it counts the saved steps in your draft. For example: "Pick up where you left off — 2 pending changes."
The dialog has two more choices:
- Start new changeset starts with an empty draft. If your draft has changes, EverShop deletes all of them, on every page, without asking again. Click it only when you no longer need your draft. When your draft is empty, click Start new changeset to edit. Nothing is deleted then.
- Continue a saved rollout plan lists the rollout plans that are scheduled or live. See Open a rollout plan.
To open the dialog again, click New changeset in the top bar. Its tooltip says "Switch session". To close it and keep working on your draft, click the X at the top right. The X shows when your draft has changes, or when you opened the dialog yourself.
Leave the editor
Your draft is saved on the server, so you can leave the editor at any time.
- The editor asks. The EverShop logo at the top left opens the dashboard. When your draft has unpublished changes, the dialog Unpublished changes opens first. It says, for example, "You have 2 changes in this draft that haven’t been published yet."
- A change is still saving. If you click the logo while a change is still saving, the dialog is called Unsaved changes. It says, for example, "You have 1 change still saving."
- Your browser asks. When your draft has changes and you close the tab, your browser asks whether you want to leave the page. Your draft is already saved, so you can leave.
The dialog has three buttons:
- Stay closes the dialog. A change that is still saving can finish.
- Leave opens the dashboard. Your draft stays on the server. Only a change that is still saving can be lost.
- Save as rollout plan and leave opens the dialog Save as rollout plan. After you create the plan, the dashboard opens.
When the save finishes while the dialog Unsaved changes is open, its title changes to Unpublished changes. The dialog then says "Your draft is safe on the server — you can come back and publish it any time."
When two admin users edit
Each admin user has their own draft. To add admin users, see Admin Users.
- Drafts stay apart. You do not see another admin user's draft. After they publish, your canvas shows their published changes, with your draft on top.
- The last publish wins for each widget. A change to a widget's settings saves all settings of that widget. For example, you change the heading of Best sellers. Then another admin user publishes a new text below that heading. When you publish, the widget gets the settings you saw when you made your change. The other admin user's text is lost.
- A deleted widget stays deleted. Another admin user can publish the deletion of a widget that you changed. Your change to that widget is then skipped.
- Rollout plans are shared. Every admin user can open, change and cancel every rollout plan.
Agree who edits which page, and publish soon after you finish.
What your customers see
Customers see only published content, plus the changes of a rollout plan while it is live. Your draft and your undo history never reach the storefront. After you publish, customers see the new content on their next page load. A customer who has the page open sees the change after reloading it or opening another page.
Troubleshooting
Why don't customers see a change that I published?
A live rollout plan can change the same widget. While the plan is live, customers see the plan's version of that widget, with all its settings. Your published change shows when the plan ends. The editor canvas and the preview of your draft do not show plans, so they show your change. See Rollout plans and Publish.
Next steps
- Schedule Changes with a Rollout PlanShow changes for a set time, such as a sale weekend.
- Add and Arrange WidgetsAdd, move and delete widgets on a page.
- Edit a Page with the Page BuilderLearn the parts of the editor screen.
- Page BuilderEverything you can do with the page builder.
For developers
To learn how drafts, previews and publishing work in code, see Page Builder and the Page Builder REST API.