Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix template tags in products list django template
weronkac468b34b7b96
diff --git a/saleor/static/scss/storefront/components/_product-list.scss b/saleor/static/scss/storefront/components/_product-list.scssindex 80a85ff9e7..1fb0f3aefa 100644--- a/saleor/static/scss/storefront/components/_product-list.scss+++ b/saleor/static/scss/storefront/components/_product-list.scss@@ -6,6 +6,8 @@}a {color: $body-color;+ position: relative;+ display: block;&:hover {text-decoration: none;}diff --git a/templates/category/_items.html b/templates/category/_items.htmlindex ad57fc7dcf..71aa910dd8 100644--- a/templates/category/_items.html+++ b/templates/category/_items.html@@ -16,7 +16,7 @@{% if availability.available %}{% price_range availability.price_range %}{% if availability.discount %}- {% if undiscounted.min_price != price_range.min_price %}+ {% if availability.price_range_undiscounted.min_price != availability.price_range.min_price %}<div class="product-list__sale"><img src="{% static "images/sale_bg.svg" %}"><span>{% trans "Sale" %}</span></div>{% endif %}{% endif %}