Set up a badge group
Create a badge group


Design the badge group

Choose the storefront placement

Set the display conditions

Save and check the result
Last updated
Was this helpful?
A badge group lets you combine multiple badges and display them together outside the product image. You can control their order, layout, size, spacing, alignment, and placement on the storefront.
Before you begin, create and activate the badges you want to use in Badges & Labels. If you want the group to appear inside the product image instead, follow Set up a label groups.
Choose Inside product image or Outside product image before adding items. Switching between these two options clears the current selection.
From Shopify admin, open Sami Product Labels > Badge groups.
Click Create badge group.

On the Design tab, select Outside product image.
In Label Selection, click Add badges to group.
Select the badges you want to include, then click Select.

After adding badges, you can drag them to change their display order.
Configure the group in the Design section:
Select layout: Display badges horizontally or vertically.
Item size: Set the size in % or px.
Label gap: Set the space between badges.
Badge group replacement: Choose where the group appears outside the product image.
Predefined position: Align the group to the left, center, or right.
Margin: Adjust the top, bottom, left, and right spacing.
The preview updates as you change these settings.

In Badge group replacement, choose one of these positions:
Below the product image
Below the product title
Below the product price
Below the product quantity
Below the Add to cart button
Below the Buy now button
Custom
If you choose Custom, enter a valid CSS selector (for example, an ID or class) for each page where the group should appear. Leave a page field empty if you do not want to use a custom selector on that page.

Need help finding an ID or class in your theme? See Use ID/class to change the position of a badge/label on the front store.
Open the Placement tab.
Choose one of the following condition types:
Keep individual label conditions: Each badge is shown or hidden according to its own condition.
Set a custom group condition: The group condition overrides the individual badge conditions.
If you select a custom group condition, configure the products, collections, pages, customers, or other rules where the badge group should appear.

For a detailed explanation and examples, see Label groups condition.
Enter a name for the badge group.
Set the group to Active or Draft.
Click Save.
Open a matching product on your storefront and confirm that the badge group appears in the selected position.
Friendly reminder!
If you do encounter any difficulty while proceeding with these steps, don’t show any hesitation to contact us promptly via the email address support@samita.io
We are always willing to help with all sincerity!
Last updated
Was this helpful?
Was this helpful?