From b8717da402b4d174316de06ff5122a5b94a3de53 Mon Sep 17 00:00:00 2001 From: Alex Saiannyi <67792608+bc-alexsaiannyi@users.noreply.github.com> Date: Tue, 2 Mar 2021 11:37:37 +0200 Subject: [PATCH] fix(storefront): BCTHEME-347 Add unique identifiers to product cards (#1999) --- CHANGELOG.md | 1 + templates/components/products/card.html | 26 ++++++++++++++++++++++++- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 40e13875f4..088955d2f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog ## Draft +- Added unique identifiers to product cards on product list pages. [#1999](https://github.com/bigcommerce/cornerstone/pull/1999) - Fixed line breaks on Dropdown menu display mode. [#1996](https://github.com/bigcommerce/cornerstone/pull/1996) - Added notifications on Carousel's content cahnge through 'Next/Prev' buttons. [#1986](https://github.com/bigcommerce/cornerstone/pull/1986) diff --git a/templates/components/products/card.html b/templates/components/products/card.html index 941fe70f36..ed24720527 100644 --- a/templates/components/products/card.html +++ b/templates/components/products/card.html @@ -1,4 +1,28 @@ -
+
{{#or price.sale_price_with_tax.value price.sale_price_without_tax.value}} {{#if theme_settings.product_sale_badges '===' 'sash'}}