{% with p_images=product.images.all %}
{% if p_images %}
{% if p_images|len > 1 %}
{% with image=p_images.first %}
{% endwith %}
{% else %}
{% for image in p_images %}
{% endfor %}
{% endif %}
{% endif %}
{% endwith %}
{% include 'snippets/snippet-addthis.html' %}
{{product.title}}
{% if product.available %}
{% include "catalog/includes/product/buy_button.html" %}
{% else %}
{% endif %}
{% include "catalog/includes/product/properties.html" %}
{{product.status}}
{% include "catalog/includes/product/info_sidebar.html" %}