{% from "erpnext/templates/includes/macros.html" import product_image_square %} {% macro item_name_and_description(d) %}
{{ product_image_square(d.thumbnail or d.image) }}
{{ d.item_code }}
{{ d.description }}
{% endmacro %} {% macro item_name_and_description_cart(d) %}
{{ product_image_square(d.thumbnail or d.image) }}
{{ d.item_code|truncate(25) }}
{% endmacro %}