Skip to content

Documents

A document is a record edited in one of Nova’s builders. It holds the layout and the content of one part of the shop; its colours, typefaces and animations come from the skin of the channel. Each kind of document has a list and a screen for import and export in the rail; most kinds also have a screen that shows which document a page receives. The builder of a kind is not on the rail: it opens from the list.

DocumentListWhat the shop shows
HeaderContent → Nova → Header → List of headersthe first matching one
MenuContent → Nova → Menu → List of menusthe menu in each place of a sales channel
FooterContent → Nova → Footer → List of footersthe first matching one
Banner setContent → Nova → Marketing → Banners → List of banner setsevery matching one
Library itemContent → Nova → Marketing → Library → Library of slides and bannersthe item where another document links it
PopupContent → Nova → Marketing → Popups → List of popupsevery matching one
Notice barContent → Nova → Marketing → Notice bars → List of notice barsevery matching one
SectionContent → Nova → Sections → List of sectionsthe section where a layout of Shopping Experiences contains it
Quick viewContent → Nova → Listing → Quick view → List of quick viewsthe first matching one
Product page templateContent → Nova → Product page → List of templatesthe first matching one
Product infoContent → Nova → Product page → Product infos → List of product infosevery matching one
Cart and checkoutContent → Nova → Cart and checkout → List of cart and checkout documentsthe first matching one
Tab barContent → Nova → Extras → Tab bar → List of tab barsthe first matching one

The first matching one: of the documents whose assignment matches the page, the one placed highest in the order of the list is shown. The default document is always last in the order and is shown wherever no other document matches.

Every matching one: every document whose assignment matches the page is shown, in the order of the list.

A menu is shown where a sales channel places it: main navigation, top bar, mobile, footer. A section is shown where a layout of Shopping Experiences contains the element Section with it. A library item is a slide or a column that sets and builders link: changed in the library, it changes everywhere it is linked once it is published. → Assignment · Main menu · Section builder

  1. Creation. The button New kind on the list (for example New header) opens a window with the name and a choice under Start from: the templates of the kind and Empty. Create creates the document as a draft. A new document is not placed anywhere; it is shown in the shop once it is placed and published.
  2. Editing. Edit on the list, or a click on the name, opens the document in its builder. Changes are held as unsaved changes until Save draft.
  3. Publication. Publish saves the draft and publishes it as the next version of the document. The top bar then shows the version the shop has, In the shop: version n · date, and, while the draft differs from it, Draft differs from the shop.
  4. Placement. The document is assigned to pages and channels, made the default, placed in a menu location or put into a layout, depending on its kind.

A document that has never been published shows nothing in the shop, even when it is assigned. The assignment itself takes effect as soon as it is saved, without a new publication.

History in the top bar of a builder opens the Publication history of the document. Restoring a version and discarding the draft work as for a skin. → Skins and publishing

The list of a kind opens with a short description of the kind. Its top bar holds Import JSON, which opens the import screen of the kind, and New kind. The side bar holds Refresh and the filters: Name, Technical name, Published (Published at least once or Never published) and Changed.

The columns of a list depend on the kind. A kind placed by assignment shows where its documents are assigned, for example Pages or Products, Channels and Who sees it; every list shows Changed and the State of each document:

StateMeaning
Draftnever published
Unpublished changespublished, and the draft differs from the published version
Publishedpublished, and the draft equals the published version
Scheduledthe time window of the assignment has not started yet
Endedthe time window of the assignment has ended

The default document carries the label Default.

For the kinds placed by assignment, the list is arranged in the order that determines which document is shown first. The note above the list explains it, for headers for example: “When several headers fit a page, the higher one wins. The default is always last and shows where nothing else fits.” Move up and Move down change the order. While filters narrow the list, the order cannot be changed, because a neighbour in it may be hidden.

A kind with several places, such as the banner sets and the notice bars, shows a switch of the places above the list; the order and the assignments belong to the selected place.

ActionEffect
Editopens the builder
Move up / Move downmoves the document in the order of the place
Duplicatecreates a copy as a draft, named “Copy of name”
Exportdownloads the document as a JSON file
Renamechanges the name and, for some kinds, the description
Assign to pages and channels…opens the assignment page; not available for the default
Remove from this placefor the kinds where every matching document is shown: takes the document out of the place
Make defaultfor the kinds of which the first matching one is shown: makes the document the default; only a published document can become the default
Deletedeletes the document; the pages it was assigned to receive the next matching one and in the end the default

The default cannot be deleted: another document has to be made the default first. Several selected rows are deleted together.

The menu More actions in a builder holds the actions of the open document. Depending on the kind they are: New kind, Import…, Rename… or Rename and describe…, Duplicate, one of Assign to pages and channels…, Where it shows and Where it is used, Export JSON, Show all, which opens the list of the kind, and Delete. A library item has no New entry. Export JSON exports the saved draft, so changes have to be saved first.

The screen Import and export of each kind has two parts.

Export downloads a chosen document as a JSON file with its layout, content and translations. References to categories, products, rules and other records are exported together with their names, so that the same records can be found in another shop.

Import reads a JSON file of the same kind:

  1. Under Import as, New (draft) creates a new document, which is shown nowhere until it is placed and published; choosing an existing document replaces its draft, while its published version stays in the shop until the draft is published.
  2. Differences lists what the file would change in the draft of the chosen document.
  3. References in the file lists every record the file points at, with its state: Exists in this shop, Matched by name, Chosen by you, Will be removed or Missing in this shop. A missing reference needs a replacement or Remove before the import can run.
  4. Translations says which languages of the file exist in the shop; texts in a language the shop does not have are skipped. A text missing in the shop’s default language takes, text by text, the one of the first language of the file that has it. For the shop’s languages the file has no texts in, it adds: “It has no texts in languages; there the shop shows those of its default language.”
  5. Import to draft imports the file. The message names the references that were removed.

A document with unsaved changes cannot be the target of an import: the changes have to be saved or discarded first.