{% extends "dashboard/catalogue/product_list.html" %} {% load i18n %} {% load url from future %} {% load thumbnail %} {% load currency_filters %} {% block title %} {% trans "MWS product management" %} | {{ block.super }} {% endblock %} {% block breadcrumbs %} {% endblock %} {% block header %} {% endblock header %} {% block dashboard_content %}
{% csrf_token %}

{% trans "Synchronise with MWS" %}

{% include "partials/form_fields_inline.html" with form=form %}
{% if product_list %}

{{ queryset_description }}

{% for product in product_list %} {% with marketplace_list=product.amazon_profile.marketplaces.all %} {% endwith %} {% endfor %}
{% trans "Seller SKU" %} {% trans "ASIN" %} {% trans "Image" %} {% trans "Title" %} {% trans "Marketplaces" %} {% trans "Last updated" %}
{% if product.amazon_profile %} {% endif %} {{ product.amazon_profile.sku|default:"-" }} {{ product.amazon_profile.asin|default:"-" }} {% if product.primary_image.original.url %} {% with image=product.primary_image %} {% thumbnail image.original "70x70" upscale=False as thumb %} {{ product.get_title }} {% endthumbnail %} {% endwith %} {% else %} - {% endif %} {{ product.get_title }}
    {% for marketplace in marketplace_list %}
  • {{ marketplace.name }} - {{ marketplace.region }}
    {{ marketplace.merchant.name }}
  • {% empty %} {% trans "No marketplace(s) selected (not selling on Amazon)." %} {% endfor %}
{% if product.amazon_profile %} {{ product.feed_submissions.all.0.date_updated|date:"jS M Y H:i" }} {% else %} {% trans "Not submitted" %} {% endif %}
{% include "partials/pagination.html" %} {% else %}

{% trans "No products found." %}

{% endif %}
{% endblock dashboard_content %}