Skip to content

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

Fix rebase issues

weronkae3409436db74
diff --git a/templates/cart-dropdown.html b/templates/cart-dropdown.html
index 9adcd073d8..1e74f3b8fe 100644
--- a/templates/cart-dropdown.html
+++ b/templates/cart-dropdown.html
@@ -9,7 +9,7 @@
{% for line in lines %}
<div class="row item">
<div class="col-md-10">
- <a href="{{ line.variant_url }}">
+ <a class="link--clean" href="{{ line.variant_url }}">
<img class="cart-dropdown__image" src="{% get_thumbnail line.image size="60x60" %}"
srcset="{% get_thumbnail line.image size="60x60" %} 1x, {% get_thumbnail line.image size="120x120" %} 2x"
alt="">
diff --git a/templates/cart/index.html b/templates/cart/index.html
index c5a3e69ae9..a4ad472f23 100644
--- a/templates/cart/index.html
+++ b/templates/cart/index.html
@@ -38,7 +38,7 @@
<div class="cart__line{% if forloop.last %} last{% endif %} table__row">
<div class="row">
<div class="col-7 cart__line__product">
- <a href="{{ line.variant.get_absolute_url }}">
+ <a class="link--clean" href="{{ line.variant.get_absolute_url }}">
<img src="{% get_thumbnail line.variant.product.images.first.image method="crop" size="60x60" %}"
srcset="{% get_thumbnail line.variant.product.images.first.image method="crop" size="60x60" %} 1x, {% get_thumbnail line.variant.product.images.first.image method="crop" size="120x120" %} 2x"
alt="">
diff --git a/templates/category/_items.html b/templates/category/_items.html
index c548431a34..e085d69129 100644
--- a/templates/category/_items.html
+++ b/templates/category/_items.html
@@ -13,7 +13,10 @@
<a href="{{ product.get_absolute_url }}" class="link--clean">
<div class="text-center">
<div>
- <img class="img-responsive" src="{% product_first_image product method="crop" size="400x400" %}" alt="">
+ <img class="img-responsive"
+ src="{% product_first_image product method="crop" size="255x255" %}"
+ srcset="{% product_first_image product method="crop" size="255x255" %} 1x, {% product_first_image product method="crop" size="510x510" %} 2x"
+ alt="">
<span class="product-list-item-name" title="{{ product }}">{{ product }}</span>
</div>
diff --git a/templates/order/order-details.html b/templates/order/order-details.html
index 213d1e06ef..c647696de8 100644
--- a/templates/order/order-details.html
+++ b/templates/order/order-details.html
@@ -49,7 +49,7 @@
{% for item_line in item %}
<div class="row">
<div class="col-md-6 col-9">
- <a href="{{ item_line.product.get_absolute_url }}">
+ <a class="link--clean" href="{{ item_line.product.get_absolute_url }}">
<img src="{% product_first_image item_line.product size="60x60" method="crop" %}"
srcset="{% product_first_image item_line.product size="60x60" method="crop" %} 1x, {% product_first_image item_line.product size="120x120" method="crop" %} 2x"
class="float-left">
diff --git a/templates/product/details.html b/templates/product/details.html
index 73e1741c26..17a6f458b1 100644
--- a/templates/product/details.html
+++ b/templates/product/details.html
@@ -62,7 +62,9 @@
{% for image in images %}
{% if images|length > 1 %}
<li data-target="#carousel-example-generic" data-slide-to="{{ forloop.counter0 }}">
- <img src="{% get_thumbnail image.image method="crop" size="60x60" %}" alt="">
+ <img src="{% get_thumbnail image.image method="crop" size="60x60" %}"
+ srcset="{% get_thumbnail image.image method="crop" size="60x60" %} 1x, {% get_thumbnail image.image method="crop" size="120x120" %} 2x"
+ alt="">
</li>
{% endif %}
{% endfor %}