Skip to content

Cart and checkout builder

A cart and checkout document lays out the whole buying flow at once. It has five views:

ViewPage in the shop
Off-canvas cartthe cart panel that opens over the page
Cart pagethe cart page
Checkout · Detailsthe step with login, registration and guest checkout
Checkout · Confirmationthe step with addresses, methods and the order button
Thank-you pagethe page after the order

Every view has its own rows, columns and blocks. One visit of the shop gets one document for the whole flow, so every page of the flow shows the same document. → Which document shows where

The builder opens from Content → Nova → Cart and checkout → List of cart and checkout documents: Edit in the row of a document, or a click on its name. Drafts, saving and publishing work as for every document of Nova. → Documents

Without a published document the shop shows the cart and checkout of Shopware. Unlike the product page, the cart and checkout get no default document when a sales channel receives the Nova theme. The builder without any document shows No cart and checkout document yet with a button that opens New cart and checkout.

If a view cannot be built in the shop, the page of that view is shown in Shopware’s version and an error is written to the log, so that a faulty layout does not prevent a customer from completing a purchase.

New cart and checkout opens from the builder and from Content → Nova → Cart and checkout → List of cart and checkout documents. It offers four starting points:

Starting pointWhat it contains
ConversionProgress towards free shipping, recommendations, your promises beside the summary
ClassicThe parts of Shopware where Shopware puts them, in the look of the skin
MinimalNothing but what buying takes
B2BProduct numbers, ordering by number, a field for the order reference, no recommendations

The shop’s first document becomes the default of every visit; every later document is shown nowhere until its assignment specifies where.

The toolbar of the preview holds the View picker with the five views. The chips under Show: change the case the preview shows:

  • in Off-canvas cart and Cart page: With products, Empty and Free shipping ✓;
  • in Checkout · Confirmation and Thank-you page: Guest and Customer with an account;
  • in Checkout · Details: Guest, 2 products.

The preview fills the cart with products of the sales channel the editor previews, as their pages calculate them. Where the channel has none, the preview shows The channel has no products for the sample cart. Over the cart page the preview shows the shop’s header; over the checkout views the simple header of the checkout with the logo and the parts the header shown there switches on, such as Secure shopping (the shop’s header where that header shows in full at the checkout). Over the off-canvas cart it shows the bar of the panel with the close button; the toolbar names the panel’s width and side, for example Off-canvas cart · 420 px · on the right.

On a computer and a tablet the rows are edited directly on the preview. On a phone the columns are displayed one under another in their phone order.

The view Off-canvas cart has two pinned rows: Content · scrolls and Bottom · stuck. They cannot be moved, duplicated or removed, and no row can be added; the blocks inside them can be moved freely. Line items stays in the content row and Promo code and buttons in the bottom row.

In Off-canvas cart and Cart page a block’s Visibility tab has the setting Cart: Always, With items or When empty. A block hidden in the case shown on the preview appears on the preview as a strip stating when the block is shown, for example only while the cart holds items.

Structure of the cart and checkout holds the document picker, the menu of document actions and the line Place: cart and checkout · … · view: …. The structure lists the entry Page (After adding to the cart, free shipping, returning) and the rows of the view on the preview. A column that stays in view on desktops while its row scrolls by reads, for example, 5/12 · stuck in the structure and carries the badge sticky on the preview.

With nothing selected the settings show Page · … with the tabs General, Look and Visibility. These settings are the page level of the document: they apply to the whole flow, not to one view.

The tab General of the page level holds settings for every page of the shop, not only for the cart. They take effect once the document is published and shown to the visitor.

  • Behaviour: Open the off-canvas cart, Notice, Toast, Cart page, Checkout or Stay.
  • With Notice: Notice place (Corner or Bottom), Hide after (0 keeps the notice until it is closed) and Free shipping progress in the notice.
  • With Notice or Toast: ‘View cart’ opens (Off-canvas cart or Cart page), and under Toast the Toast place (Top or Bottom) and Toast hides after. With Toast the light line appears at the side after every adding, from the product page, the cards and the panels; with Notice it replaces the notice where a panel stays open to add more, such as the quick add and the quick view.
  • ‘Added ✓’ on the button.
  • Counter animation in the header. Visitors with ‘reduce motion’ see no animation.

The Buy box of the product page follows this setting; it has no setting of its own.

Beside the buy buttons applies to every buy button of the shop: the cards, the product page and its buy bar, the quick add.

  • Quantity to add: − 1 + and the button determine how many items go to the cart.
  • Button only: ‘Add to cart’ alone, with the least quantity of the product.
  • Quantity in the cart: ‘Add to cart’, and once the product is in the cart − n + with its quantity there beside the button.

With Quantity in the cart further settings appear: Saving the quantity (With the button or At once, a moment after the last − or +), Badge on the button (only with the button: +2, −1, or a bin where it takes the product out), When the quantity in the cart changes (Counter animation or Toast) and The button at 0 (Removes at once or Asks first).

Without a published document the quantity field works as Quantity to add.

  • Click on the cart icon: Off-canvas cart or Cart page; one setting for every header.
  • Threshold under Free shipping: From the shipping prices, Own per currency or Off. With From the shipping prices the field lists the threshold of each shipping method of the previewed channel. With Own per currency an amount is entered per currency; currencies without an amount take the amount of the system currency times their exchange rate.
  • The texts Empty cart, On the way and Reached are the messages of the free shipping blocks and of the notice; empty texts take Nova’s default texts.
  • Off-canvas cart per device, for Desktop, Tablet and Phone: From the side, From below (a sheet over the page, dragged down to close) or Under the icon (a dropdown under the header’s cart icon; from the side where no cart icon is in view). The tablet and the phone take the value of the larger device until they are given their own.
  • The dropdown opens, where a device uses Under the icon: On a click, On hover, a click keeps it open or On hover; a click opens the cart from the side. On touch screens a tap opens it.
  • Side of the off-canvas cart: Right or Left, mirrored for right-to-left languages.
  • ‘Continue shopping’: Close the cart, Last category or Home page.
  • Header at the checkout is not set in this document. The field opens Content → Nova → Header → Which header shows where, where the header of the checkout is assigned; without an assignment the checkout shows a simple header with the logo, secure shopping and help.

Look holds the style field over the whole cart and checkout, above the values of the skin.

Visibility shows Who gets it, a summary of the assignment, for example Default: every visit or 2 sales channels · with a rule, and the button Assignment. The default document has no such button: it applies to every visit that no other document applies to.

Under the preview the list To check before publishing covers every view of the document. Nothing in it blocks publishing. Besides the shared checks, the document reports:

MessageMeaning
The document shows nowhere: set in ‘Assignment’ who gets itThe document has no assignment yet.
…: without the block ‘Empty cart’ the empty cart says nothingOff-canvas cart without Empty cart.
…: without ‘Messages’ the customer does not see form errorsConfirmation without Messages.
…: without ‘Addresses’ the customer does not check the address before orderingConfirmation without Addresses.
…: without ‘Shipping’ the customer cannot change the shipping methodConfirmation without Shipping.
…: without ‘Payment’ the customer cannot change the payment methodConfirmation without Payment.
…: the total to pay with tax and costs should show by the order button (directive 2011/83/EU)Confirmation without Summary.
…: ’…’ stands alone at the end of the page: move it to the column with the summaryA required part was added back in a row of its own.
Account for the guest: if Shopware logs guests out after the order, the card does not showThe thank-you page holds Account for the guest.

Nova adds a required part that is missing from a view back: in the off-canvas cart into its pinned row, in the other views in a row of its own at the end of the view. → Blocks of the cart and checkout