Skip to content

Product comparison

The product comparison lets a visitor collect products and compare them side by side in a table. It is off until it is switched on in the skin. Once on, the shop shows the comparison icon on the product cards, a link in the buy box, a bar with the products picked so far and the comparison itself; the header and the tab bar can show an icon of their own that leads to it.

The group Content → Nova → Extras → Comparison contains two screens:

  • Product comparison: the settings, which belong to the skin and are saved and published with it (see Skins and publishing).
  • Comparison sets: the sets that determine which products are compared with each other when the comparison groups its products by sets.

Content → Nova → Extras → Comparison → Product comparison shows the settings on the left and a preview with sample products on the right. What the scene shows switches the preview between Page and Bar at the bottom.

SettingMeaning
OnSwitches on the icon on the cards, the link in the buy box, the page and the bar in this skin and its channels. Off by default.
Products per group2 to 6, default 4; counted per group where the page groups its products. When a group is full, the visitor replaces its oldest product or keeps the list. A list contains at most three groups’ worth of products.
GroupingAll together (default), By category (the product’s main category in the channel) or Comparison sets.

Comparison sets under the grouping opens the list of sets.

With By category, products whose category has no name, and products without a category in the channel’s navigation, are placed together in a last group. With Comparison sets, a product goes to the first active set of its channel it belongs to, by priority; products of no set are placed in the group “Other”.

On a phone the comparison shows two products at a time; the others are reached by scrolling sideways. With more than four products per group the screen shows a notice about it.

Icon is the icon on the cards, in the buy box, in the cart, in the header and on the empty comparison page; by default two arrows. A product already in the comparison has the icon white on black, with a short pulse when it is added.

SettingMeaning
Opens asWhat “Compare” opens on each device: Window, Side panel, Sheet from below or Page. By default Window on a desktop and Sheet from below on a tablet and a phone. The page /compare stays available for shared links.
Bar at the bottomThe products picked so far at the bottom edge: Bar (default), Pill or None. On a phone and on product pages the pill is always shown. With None the icons of the header and the tab bar lead to the comparison.
Table starts withAll rows, differences marked (default) or Only differences. Visitors switch “Only differences” on the page themselves.
Sharing by link“Copy link” on the page: anyone with the link sees the list read only, without the visitor’s other data. Off by default.

Rows of the table lists the rows of the comparison table, each on or off, dragged into the order the table keeps:

RowDefault
Priceon
Unit price (per kg, per 100 ml)off
Ratingon
Availabilityon
Manufactureron
Product numberoff
Propertieson
Dimensions and weighton

Properties lists every property group the product page shows.

SettingMeaning
Keep the comparison forDays, 0 to 365, default 30.
Keep the recently viewed forDays, 0 to 365, default 30.

Both lists are kept for the given number of days only once the visitor has allowed the comfort features; with 0 they are kept only for the session. Each list has its own entry in the cookie settings.

Look sets, per device, the styles of the elements Bar at the bottom, Products’ row of the table and Row that differs.

Content → Nova → Extras → Comparison → Comparison sets lists the sets with the columns Name, Products, Rows, Sales channels, Priority and Active. The sidebar contains the filters and Refresh.

The sets take effect only while Grouping is set to Comparison sets. Each set becomes a tab of the comparison page, labelled with the set’s name.

Add set opens New comparison set; a row of the list opens the set. The page shows the settings of the set on the left and its products on the right, and is saved with Save.

SettingMeaning
NameThe tab’s label on the comparison page, per language.
Sales channelsThe channels the set applies to. None: every channel.
Priority0 to 9999. The lowest first; a product goes to the first set it belongs to.
ActiveOnly active sets group products.

Under Rows of the table, Rows determines which rows the set’s tab shows:

  • As the settings: the rows of Rows of the table in the comparison’s settings.
  • Own: a list of the set’s own, each row on or off and dragged into order; “Other properties” lists the property groups no row names. Property groups adds a row of its own for each group picked, at the end of the list. At least one of the fixed rows stays on.

The right side of the page determines which products belong to the set, with the conditions Show when and Skip when. The records may be categories, products, manufacturers, dynamic product groups, properties and tags. A product belongs to the set when it has none of the records under Skip when and, for each kind of record listed under Show when, at least one of the records of that kind. A set without conditions includes every product.

The conditions are edited as on the assignment page of the documents; see Assignment.