Shopware 6.7.13.0 Bug Alert: Strikethrough Prices Disappearing in Product Listings
Shopware 6.7.13.0 Bug Alert: Strikethrough Prices Disappearing in Product Listings
Recently, Shopware merchants updating to version 6.7.13.0 have encountered a notable display issue concerning product pricing. Specifically, the 'strikethrough prices' (often used for showing original prices alongside sale prices) are no longer appearing as intended within product listings and sliders. While the functionality remains correct on individual product detail pages, its absence in key promotional areas like listings and sliders can significantly impact customer perception and conversion rates.
The Problem: Missing Strikethrough Prices
A user, Andreas_147, reported this issue shortly after updating their Shopware store to version 6.7.13.0. They observed that while the "Streichpreis (Brutto)" (strikethrough price gross) was correctly configured in the backend and displayed on the product detail page, it was missing the crucial strikethrough effect in product listings and sliders. This visual discrepancy raised concerns about whether this was an intentional change, possibly for legal reasons, or an unintended bug.
Andreas_147 highlighted the relevant CSS snippets found in the listing, which seemed to be the root cause:
.product-price .list-price-no-line-through .list-price-price {
text-decoration: none;
}
.product-price .list-price .list-price-price {
text-decoration: line-through;
}
This CSS suggests that a specific class, .list-price-no-line-through, was being applied, overriding the default strikethrough styling for the list price.
Official Confirmation and Temporary Solution
Another user, MrAle, quickly confirmed that this was indeed a bug and not an intentional design change. They provided a link to an official GitHub issue (shopware/shopware/issues/18370) titled "The list price is displayed without being crossed out." This issue, reported for Shopware 6.7.12.1 (and affecting subsequent versions like 6.7.13.0), is marked with priority/high, indicating its significance to the Shopware team.
The GitHub issue details confirm the problem: "The list price is no longer displayed as crossed out in the listing." and "In earlier versions, the list price was still displayed as crossed out." The expected behavior is for the list price to be crossed out in the listing, which is currently not happening.
To address this critical display error while awaiting an official fix from Shopware, Andreas_147 proposed a temporary CSS solution:
.product-price .list-price-no-line-through .list-price-price {
text-decoration: line-through;
}
This CSS snippet can be added to your theme's custom CSS to force the strikethrough effect back onto the list prices in the affected areas. It specifically targets the class that was preventing the strikethrough and re-applies the necessary text-decoration: line-through; property.
Impact and Next Steps
The absence of strikethrough prices can mislead customers, potentially reducing the perceived value of discounts and impacting sales. Merchants using Shopware 6.7.13.0 (or 6.7.12.1) who rely on this visual cue for promotions should immediately implement the temporary CSS fix. It is advisable to monitor the linked GitHub issue for updates and the official release of a permanent fix in a future Shopware update.
This community insight highlights the value of the Shopware forum in quickly identifying and addressing issues, providing immediate workarounds, and connecting users to official bug tracking.