The sold badge marks sold-out products – in the product box on listing pages and on the product page (gallery or buybox).
Sold out
The status "Sold out" is fulfilled in Shopware if a product is on "Clearance sale" and the "Available stock" is less than the "Min. order quantity". You can find more information in the Shopware documentation.
Configuration
Theme configuration
Listing pages
- Go to the "Listing pages" tab
- Expand the "Product badges (in the product box)" block
- Scroll to the section "Badge: Sold badge"
- Enable the configuration "Show sold badge"
- Optional: Set the configuration "Sold badge for variants" to "also the displayed variant"
- Save your changes after editing
Product pages
- Go to the "Product pages" tab
- Expand the "Product badges (in the image gallery or buy box)" block
- Scroll to the section "Badge: Sold badge"
- Set the configuration "Show sold badge" to "show in the image gallery" or "show in the buy box"
- Save your changes after editing
Note: The badge is displayed if the product is on "Clearance sale" and the stock is below the "Min. order quantity" – provided the sold badge is enabled for the product box (listing pages) or the product page (gallery or buybox).
By default, products with variants are not marked as sold out in the product box, as one product box can stand for several variants. With "Sold badge for variants" this can be enabled for the displayed variant (beta). Currently only the variant shown in the product box counts (e.g. the main variant), as information about the other variants is not yet available in the listing. If the variants are expanded by all properties in the listing, each product box stands for exactly one variant and is marked according to its stock. If they are expanded by only some of the properties (e.g. colour only), the variant shown in the box counts. On the product page, the status applies to the selected variant.
Summary
Theme configuration
- Tab "Listing pages" => Block "Product badges (in the product box)" => Section "Badge: Sold badge" => Show sold badge
- Tab "Listing pages" => Block "Product badges (in the product box)" => Section "Badge: Sold badge" => Sold badge for variants
- Tab "Product pages" => Block "Product badges (in the image gallery or buy box)" => Section "Badge: Sold badge" => Show sold badge
- All settings in detail: Product badges (in the product box)
- All settings in detail: Product badges (in the image gallery or buybox)
Snippets
twt.extension.stockBadge.noStock(Sold badge)twt.extension.soldBadge.icon(Icon of the sold badge)- All snippets at a glance: Snippets