{literal} {/literal}

[`Ozon connection`]

[`Import products from the Ozon seller API.`]

[`Ozon Client ID`]

[`Copy the Client ID from the Seller API section in your Ozon seller account settings.`]

[`Ozon API Key`]

[`Create and copy the API key in the Seller API section of your Ozon seller account settings.`]

[`Logging`]


[`Connection`]
{if $ozon_debug}
{/if}
{if $ozon_snapshot}

[`Ozon snapshot`]

[`Snapshot collected at`] {$ozon_snapshot.updated_at|wa_datetime}

{if !empty($ozon_snapshot.meta.invalid_attribute_pairs_count)}
[`Ozon returned errors for some category/type pairs`]
[`Products from these categories will be imported without characteristics.`] ([`Pairs`]: {$ozon_snapshot.meta.invalid_attribute_pairs_count|default:0}; [`Products`]: {$ozon_snapshot.meta.invalid_attribute_products_count|default:0})
{if !empty($ozon_snapshot.meta.invalid_attribute_pairs)}
    {foreach $ozon_snapshot.meta.invalid_attribute_pairs as $index => $pair} {if $index < 10}
  • {if !empty($pair.path)} {$pair.path|escape} {else} category_id={$pair.description_category_id|default:0}, type_id={$pair.type_id|default:0} {/if} ({$pair.products_count|default:0})
  • {/if} {/foreach}
{if $ozon_snapshot.meta.invalid_attribute_pairs|@count > 10}
[`And more categories...`]
{/if} {/if}
{/if}
{$ozon_snapshot.meta.products|default:0}
[`Products detected`]
{$ozon_snapshot.meta.categories|default:0}
[`Categories detected`]
{$ozon_snapshot.meta.warehouses|default:0}
[`Warehouses detected`]
{if !empty($ozon_mapping.types)}
[`Top 5 of your categories`]
    {foreach $ozon_mapping.types as $index => $row} = 5} class="js-ozon-preview-type-extra" style="display:none;"{/if}>{$row.path|escape} ({$row.count}) {/foreach}
{if $ozon_mapping.types|@count >= 6} {/if}
{/if} {if !empty($ozon_mapping.warehouses)}
[`Detected warehouses`]
    {foreach $ozon_mapping.warehouses as $index => $row} = 5} class="js-ozon-preview-warehouse-extra" style="display:none;"{/if}>{$row.name|escape} {/foreach}
{if $ozon_mapping.warehouses|@count >= 6} {/if}
{/if}
{/if}
{if $ozon_snapshot}

[`Import mode`]

{assign var=ozon_mode_switch_id value=uniqid('ozon-mode-')}
[`Mode`]
{/if} {if $ozon_debug} {/if}