Product labels
Nova displays four labels on the product cards: Sale, New, Topseller and Sold out, and in addition the labels of the skin’s own described under Own labels. They are displayed on the cards instead of the badges of Shopware. The settings of the labels belong to the skin: they are changed in the draft of the chosen skin and take effect in the shop with its publication (Skins and publishing). The texts of the labels are the exception, as described below.
The screen opens under Content → Nova → Marketing → Product labels. The left column holds the settings; the right column holds the preview Labels on the cards with sample products of the sales channel and the list To check before publishing. A click on a label in the preview selects that label in the settings.
Switching the labels on and off
Section titled “Switching the labels on and off”The group Labels holds Nova’s labels. Switched off, the cards show the badges of Shopware (%, Topseller, New) in the look of the theme, and the other settings of the screen are hidden until the labels are switched on again.
Below the switch, the four labels are listed with a sample of each. The eye button next to a label sets whether that label is shown at all. A click on the label opens its settings in the groups below.
Content
Section titled “Content”The group Content · … of the selected label holds:
| Field | Effect |
|---|---|
| Text in the shop | The text of the label in the language of the language switch. The English texts supplied with Nova are ”−%discount%”, “New”, “Topseller” and “Sold out” |
| Icon | An optional icon before the text, from the icons of the shop and of Nova |
| For how many days (New) | How long a product counts as new; 0 takes the value of Settings → Products (“mark as new”) |
| Hide the other labels (Sold out) | On a sold-out product only Sold out is shown |
The text of a label is a text of the shop, not of the skin: it applies to every skin and takes effect at once, without a draft and without a publication. An emptied text, or a reset, restores the text supplied with Nova.
In the text of Sale, %discount% is replaced by the percentage and %saving% by the amount in the customer’s currency.
When the shop shows each label
Section titled “When the shop shows each label”| Label | Condition |
|---|---|
| Sale | The product has a saving. By default it is counted from the list price, as Shopware counts it; when Saving calculated from on the product card screen is set to The lowest price of 30 days, it is counted from that price, and a product without one has no saving. Without a saving, for a “from” price of variants at different prices and for a product with tier prices, the label is not shown |
| New | The release date of the product falls within the number of days, as for the badge “New” of Shopware |
| Topseller | The product is marked Highlight product in Shopware |
| Sold out | Shopware’s availability marks the product as sold out: a clearance sale out of stock. A product sold without stock is not sold out. For a product with variants, the setting on the product card screen determines it (Product card) |
On the product card screen, a choice is also made between the label Sold out, a dimmed image or both. A card set to only dim the image of a sold-out product shows no Sold out label.
Position
Section titled “Position”| Field | Effect |
|---|---|
| Place on the card | On the image or Under the name |
| Anchor on the image | For On the image: Top left, Top, Top right, Left, Centre, Right, Bottom left, Bottom, Bottom right |
| Order | The order of the labels that are placed in the same place |
On the image, the places taken by the card itself, such as the wishlist, quick view and the buy button on hover, are marked with a dashed outline.
Labels placed Under the name are displayed by the part Labels of the product card, in the order of the card’s parts. A card without that part does not show them, and the list To check before publishing reports it (Product card).
| Shape | Description |
|---|---|
| Pill | Rounded ends, for short words |
| Rectangle | Like the badges of Shopware; the rounding is set in the look |
| Tag | A point at the end of the text; mirrored for right-to-left scripts |
| Circle | A fixed diameter from the look, for up to 6 characters |
| Corner ribbon | A diagonal band across a corner of the image; only in the corners, one per corner |
| Text only | No background, in the label’s background colour; intended for Under the name |
Own labels
Section titled “Own labels”The group Own labels adds labels of the skin’s own with Add label, up to 20 per skin. Such a label is shown on the products that have the chosen tag, property value or custom field value.
| Field | Effect |
|---|---|
| Words | The text in each language of the shop; a language without it shows the text of the first one |
| Shown on | A tag, A property value or A custom field; then Tag, Property value, or Custom field (its technical name) with Value. An empty Value matches any value except an empty or false one; a switch is matched by true or false |
| Icon, Place on the card, Anchor on the image, Order, Shape | As for the four labels; at the same Order the four labels are placed first |
| Background | Empty: the brand colour |
| Text colour | Empty: white or ink, whichever reads on the background |
A label without words, or without a tag, property value or custom field, is not shown in the shop. The eye button next to a label hides it. Own labels take the shared look of the labels with their own colours.
The group Look holds the style field of the labels. The switch above it chooses between All labels and each single label. The device switch of the style field sets values per device.
To check before publishing
Section titled “To check before publishing”The list To check before publishing checks the contrast of every label on every device against 4.5:1, the places the card takes, the shapes and the part Labels of the card. It reports:
- that no label is shown, so the cards have neither Nova’s labels nor the badges of Shopware;
- a text contrast below 4.5:1;
- a label placed where the card already shows its own element;
- a text too long for Circle;
- a second Corner ribbon in a corner that already has one; only the first one is shown;
- a label Under the name while the product card has no part Labels.
The contrast warnings are also shown on the Dashboard (Dashboard).
Labels displayed by another plugin
Section titled “Labels displayed by another plugin”While the plugin P2LabBadges is active, Nova displays no labels and the badges of the cards are displayed by that plugin, so no card shows labels twice. The settings column then shows only the card The labels are drawn by P2LabBadges with a button that opens that plugin. When the plugin is switched off, Nova’s labels are displayed again with the settings of the skin.