{% endif %}
{% if settings.featured_product_show %}
{% with image=settings.featured_product.get_all_images %}
{% image_thumbnail image.0.original "850x850" crop="center" upscale=True as thumb %}
{% endwith %}
{% if settings.featured_product.metadata.file_up %}
{% endif %}
{% if settings.featured_products|length > 0 %}
{% if settings.fps_header %}
{{ settings.fps_header }}
{% endif %}
{% for product in settings.featured_products %}
{% purchase_info_for_product request product as session %}
{% if session.availability.is_available_to_buy %}
{% if settings.product_media_fit == 'fit' %}
{% with image=product.primary_image %}
{% image_thumbnail image.original "850x" as thumb %}
{% endwith %}
{% else %}
{% with image=product.primary_image %}
{% image_thumbnail image.original "850x850" crop="center" upscale=True as thumb %}
{% endwith %}
{% endif %}