Product labels on the cards
Product labels are short marks on the product card, such as the discount, “New” or “Sold out”. Nova shows four labels whose condition comes from the product data in Shopware, and up to twenty labels of your own tied to a tag, a property value or a custom field. The labels belong to the skin and appear on every product card: in listings, product sliders, the comparison table and the quick add. They do not appear in the gallery of the product page or in the quick view window. → Product labels
Before you start
Section titled “Before you start”The sales channel uses Nova with a published skin. → Skins and publishing
The plugin P2LabBadges must not be active. When it is active, Nova draws no labels and leaves the product badges to that plugin; the screen then shows only the card The labels are drawn by {plugin}.
1. Give the products the data of the labels
Section titled “1. Give the products the data of the labels”Each of the four labels reads its condition from Shopware:
- Sale: a list price higher than the price of the product. With Saving calculated from (Content → Nova → Listing → Product card → Price and stock) set to The lowest price of 30 days, the comparison uses Cheapest price (last 30 days) instead. A product with tier prices, or a main product whose variants have different prices, gets no label.
- New: the Release date of the product. The label shows for the number of days set in step 3, or by default for the days of the setting “Mark products as ‘new’, for ? days” under Settings → Commerce → Products. A release date in the future also counts while it is within that number of days.
- Topseller: Highlight product on the product (Catalogues → Products → product).
- Sold out: the availability of Shopware. A product sold without stock is never sold out; a clearance sale product is sold out when its stock is used up.
2. Switch the labels on
Section titled “2. Switch the labels on”Content → Nova → Marketing → Product labels → Labels → Nova’s labels, on by default. Off, the cards show the badges of Shopware in the look of the theme.
The list shows Sale, New, Topseller and Sold out. The eye button of a row shows or hides the label. A skin can hide labels by default.
3. Set the content of each label
Section titled “3. Set the content of each label”Select a label → Content · {name}:
- Text in the shop: the words of the label in the shop, per language. The text of Sale
accepts
%discount%(the percentage) and%saving%(the amount in the customer’s currency). - Icon: optional, before the text.
- For how many days (New only): 0 to 365; 0 uses the setting of Shopware.
- Hide the other labels (Sold out only): on by default; a sold-out product then shows only Sold out.
4. Place the labels
Section titled “4. Place the labels”Position → Place on the card: On the image (default) or Under the name.
- Anchor on the image places the label in one of nine places of the image; Top left is the default. A corner may be taken by the wishlist, the quick view or the buy button; the anchor field marks such places as dashed.
- Order sets the order of the labels that share a place, from 1 to 4 for the four labels.
A label Under the name is drawn by the part Labels of the product card. A card without that part does not show such labels. → Product card
5. Choose the shape and the look
Section titled “5. Choose the shape and the look”Shape: Pill, Rectangle (default), Tag, Circle, Corner ribbon or Text only. A circle holds at most six characters. A corner ribbon works only in the corners of the image, one per corner.
Look sets the colours and sizes, for All labels or for one label. The labels take their shape from Content → Nova → Component styles → Badges until the screen overrides it.
6. Add labels of your own
Section titled “6. Add labels of your own”Own labels → Add label, at most 20 per skin. Fill in Words and choose under Shown on what the label waits for: A tag, A property value or A custom field. For a custom field, Custom field holds its technical name and Value the value; an empty Value matches any value except an empty one. Background and Text colour may stay empty.
7. Publish the skin
Section titled “7. Publish the skin”The labels are settings of the skin. The shop shows them after the skin has been published. → Skins and publishing
Checking it works
Section titled “Checking it works”A discounted product shows “−21%” or the text set for Sale. A product released within the days shows “New”, a highlighted product “Topseller”, an unavailable product “Sold out”. Labels sharing a place follow their Order.
For a product with variants, Sold out in a list when under Content → Nova → Listing → Product card → Sold out decides between The whole product (no variant available, the default) and The variant shown. Shows on the same group chooses between Label, Dimmed image and Both.
When a label does not appear
Section titled “When a label does not appear”- P2LabBadges is active, or Nova’s labels is off. The cards then show the badges of Shopware or of the plugin.
- The label is hidden by its eye button.
- On a sold-out product, Hide the other labels of Sold out hides every label except Sold out. Sold out itself does not appear when Shows of the product card is set to Dimmed image.
- The label is placed Under the name, but the product card has no part Labels.
- A second corner ribbon in the same corner: only the first one shows.
- A label of your own without words or without what it waits for.
To check of the screen names these cases, for example No label is shown. The cards will have neither labels nor Shopware’s badges — to get Shopware’s badges back, switch ‘Nova’s labels’ off.
Where to go next
Section titled “Where to go next”- Product labels: every setting of the screen.
- Product card: the corners of the image and the part Labels.