Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Don't allow to delete cart item from cart dropdown

weronkab4fc9eac3ca6
diff --git a/saleor/static/scss/storefront/components/_cart-dropdown.scss b/saleor/static/scss/storefront/components/_cart-dropdown.scss
index a222ec556f..e49812e4c9 100644
--- a/saleor/static/scss/storefront/components/_cart-dropdown.scss
+++ b/saleor/static/scss/storefront/components/_cart-dropdown.scss
@@ -24,12 +24,6 @@
height: 60px;
margin-right: $global-margin / 2;
}
- &__delete {
- display: block;
- img {
- margin-bottom: $global-margin;
- }
- }
&__actions {
margin-top: $global-margin * 2;
}
diff --git a/templates/cart-dropdown.html b/templates/cart-dropdown.html
index 325fafc450..c3ce210262 100644
--- a/templates/cart-dropdown.html
+++ b/templates/cart-dropdown.html
@@ -17,9 +17,6 @@
</div>
<div class="col-md-2">
<div class="float-xs-right">
- <a class="cart-dropdown__delete" href="/">
- <img class="float-md-right" src="{% static 'img/icon_delete.svg' %}">
- </a>
<h3>{{ line.line_total }}</h3>
</div>
</div>