Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add product image placeholder
Paweł Kowalewski0010138d7b13
diff --git a/saleor/dashboard/templates/dashboard/product/list.html b/saleor/dashboard/templates/dashboard/product/list.htmlindex f1887cf3b1..9d3e42612b 100644--- a/saleor/dashboard/templates/dashboard/product/list.html+++ b/saleor/dashboard/templates/dashboard/product/list.html@@ -48,7 +48,7 @@{% if product.images.exists %}<img src="{{ product.images.first.image.crop.50x50 }}" alt="" class="circle teal">{% else %}- <img src="{% static 'placeholders/product-image-placeholder.png' %}" alt="" class="circle teal">+ <img src="{% static 'images/product-image-placeholder.png' %}" alt="" class="circle teal">{% endif %}<a class="title" href="{% url 'dashboard:product-update' pk=product.pk %}"><span class="list-item-name">{{ product.name }}</span>diff --git a/saleor/dashboard/templates/dashboard/product/product_confirm_delete.html b/saleor/dashboard/templates/dashboard/product/product_confirm_delete.htmlindex 7d9fcf153e..6ec898c41a 100644--- a/saleor/dashboard/templates/dashboard/product/product_confirm_delete.html+++ b/saleor/dashboard/templates/dashboard/product/product_confirm_delete.html@@ -35,7 +35,7 @@{% if object.images.exists %}<img src="{{ product.images.first.image.crop.600x600 }}" alt="" class="responsive-img">{% else %}- <img src="{% static 'placeholders/product-image-placeholder.png' %}" alt="" class="responsive-img">+ <img src="{% static 'images/product-image-placeholder.png' %}" alt="" class="responsive-img">{% endif %}</div>diff --git a/saleor/static/images/product-image-placeholder.png b/saleor/static/images/product-image-placeholder.pngnew file mode 100644index 0000000000..ae3c66059bBinary files /dev/null and b/saleor/static/images/product-image-placeholder.png differ