Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Dropped _items.html for product/_items.html
NyanKiyoshi774c108cf39f
diff --git a/templates/_items.html b/templates/_items.htmldeleted file mode 100644index d67bfa39a0..0000000000--- a/templates/_items.html+++ /dev/null@@ -1,35 +0,0 @@-{% load i18n %}-{% load staticfiles %}-{% load price_range from taxed_prices %}-{% load product_first_image from product_images %}-{% load get_thumbnail from product_images %}--{% for product, availability in products %}-<div class="col-6 col-lg-3 product-list">- <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="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>-- <div class="panel-footer">- {% price_range availability.price_range %}-- {% if availability.on_sale %}- <div class="product-list__sale">- <svg data-src="{% static "images/sale-bg.svg" %}" />- <span class="product-list__sale__text">- {% comment %}Translators: Layout may break if character length is different than four.{% endcomment %}- {% trans "Sale" context "Sale (discount) label for item in product list" %}- </span>- </div>- {% endif %}- </div>- </div>- </a>-</div>-{% endfor %}diff --git a/templates/product/product_list_base.html b/templates/product/product_list_base.htmlindex 5d5db26873..38f2494d9d 100644--- a/templates/product/product_list_base.html+++ b/templates/product/product_list_base.html@@ -126,7 +126,7 @@<div>{% if products %}<div class="row">- {% include "_items.html" with products=products %}+ {% include "product/_items.html" with products=products %}</div><div class="row"><div class="m-auto">