{% from "erpnext/templates/includes/macros.html" import item_card, item_card_body %}

<a class="product-link product-list-link" href="{{ route|abs_url }}">
	<div class='row'>
		<div class='col-xs-3 col-sm-2 product-image-wrapper'>
			{{ product_image_square(thumbnail or website_image or image) }}
		</div>
		<div class='col-xs-9 col-sm-10 text-left'>
			<div class="product-text strong">{{ item_name or name }}</div>
			{% set website_description = website_description or description %}
			{% if website_description != item_name %}
				<div class="text-muted">{{ website_description or description }}</div>
			{% elif item_code and item_code != item_name %}
				<div class="text-muted">{{ _('Item Code') }}: {{ item_code }}</div>
			{% endif %}
		</div>
	</div>
</a>
