Настройка YML в Insales

Настраиваем в insales Продвижение->Площадки->Яндекс.маркет произвольная выгрзука

Или

Товары - Товарные выгрузки

находим Яндекс-Маркет.Произвольная выгрузка

Ставим галочки выгрузки всех вариантов, выбираем все выгружаемые характеристики

Шаблон выгрузки

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE yml_catalog SYSTEM "shops.dtd">
<yml_catalog date="{{'now' | date:  '%Y-%m-%dT%H:%M'}}">
  <shop>
    <name>{{marketplace.shop_name}}</name>
    <company>{{marketplace.company}}</company>
    <url>{{marketplace.url}}</url>
    <platform>InSales</platform>
    <currencies>{% for currency in currencies %}
      <currency id="{{currency.id}}" rate="{{currency.rate}}" {% if currency.plus %}plus="{{currency.plus}}" {% endif %} />{% endfor %}
    </currencies>
    <categories>{% for collection in collections %}
      <category id="{{collection.id}}" {% if collection.parent_id %}parentId="{{collection.parent_id}}"{% endif %}>{{collection.title}}</category>{% endfor %}
    </categories>
    <offers>
      {{content_for_layout}}
    </offers>
  </shop>
</yml_catalog>

Шаблон offer

{% for variant in product.variants %}
<offer available="{% if variant.quantity != 0 %}true{% else %}false{% endif %}" {% if product.variants.size > 0 %}id="{{ variant.id }}" group_id="{{ product.id }}"{% else %}id="{{ variant.id }}"{% endif %}>
  <name>{{product.title}}</name>
  <vendorCode>{{product.sku}}</vendorCode>
  <url>{{ account.url }}/product/{{ product.handle }}</url>
  <price>{{product.price}}</price>
  {% if product.old_price != 0 %}<oldprice>{{product.old_price}}</oldprice>{% endif %}
  <price2>{{product.price2}}</price2>
  <currencyId>{{product.currency_id}}</currencyId>
  <categoryId>{{collection.id}}</categoryId>
  {% for image in product.images limit: 10 %}
  <picture>{{image.url}}</picture>{% endfor %}
  <vendor>{{product.properties.vendor}}</vendor>
  <description><![CDATA[{{ product.original_description }}]]></description>
  <shortDescription>{{product.short_description}}</shortDescription>
  {% if product.dimensions.height %}
  <dimensions>{{product.dimensions.width}}/{{product.dimensions.depth}}/{{product.dimensions.height}}</dimensions>{% endif %}
  {% for property in product.properties %}
  <param name="{{property[0]}}">{{property[1]}}</param>{% endfor %}
  {% for option in product.option_name_titles %}
  <param name='{{ option }}'>{{ variant[option] }}</param>{% endfor %}
</offer>
{% endfor %}