Дерево страниц

Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
Sv translation
languageru_RU
Информация
iconfalse

Система Agora позволяет поставщику добавлять товары на портал при помощи импорта файла с расширением YML. Загружаемый YML-файл должен содержать в себе предложения упрощенного типа.

В разделе Мой каталог кликните по кнопке Загрузка данных из YML.

В открывшемся окне отметьте необходимые чекбоксы:

  • Обновить наличие — разрешает обновление остатков товаров.
  • Обновить цены — разрешает обновление цен товаров из файла.
  • Обновить свойства товаров — разрешает обновление свойств товаров из файла.

Выберите файл с расширением YML — появится прогресс бар с процентом загрузки. Когда загрузка будет завершена, нажмите Сохранить.

Откроется окно Журнал обработки данных с отображением текущего статуса загрузки и возможными ошибками.

Далее необходимо сопоставить категории для корректного отображения на портале.

Ниже представлен список основных атрибутов для YML-файлов:

Название атрибутаЗначениеКомментарий
currenciesstringСписок валют
namestring Название товара
categoriesstringСписок категорий
vendorCodestring Код товара
descriptionstring Описание товара
categoryIdstring Категория поставщика
pricenumber (RUB, EUR)
currencyIdstring (RUB, EUR)
picturestring Ссылка на изображение
warehousenumber Остатки на складе

Более подробную информацию об элементах файлов YML, входящих в offer в упрощенном типе, вы найдете в статье.

Примечание
iconfalse

Если у вас остались вопросы по настройке проекта, обратитесь в техническую поддержку Agora.



Sv translation
languageen

To download data using import, the user needs to click on the Username in the user bar. By clicking on it, a drop-down menu will open.

Информация
iconfalse

The

downloadable YML file should contain simplified sentences.

Next, in the menu that appears, select the Settings item to go to your personal account and select Loading data from YML in the left side menu.

2017-07-26_0311.pngImage Removed

Fig. 1 - Go to download from YML

The page that opens (/accounts/supplier/data/yml) contains the following:

  • explanatory information on the procedure for loading data using YML
  • check box Update availability
  • Update prices
  • Update product properties
  • Download button 
 

When you click on the Download button, a window for selecting a file will open. Add a file and upload a file of the appropriate format. If the format does not meet the requirement, a validation message should appear.

Image RemovedFig. 2 - Setting up import

After selecting the file, the user will be redirected to the Data processing queues page (/accounts/supplier/queue) with the current download status displayed.

Agora system allows the supplier to add products to the portal by importing a YML-file. The YML file you upload must contain simplified sentences.

In the My Catalog section, click the Data loading from YML button.

Image Added

2017-07-26_0307_001.pngImage Removed

Fig. 3 - processing queue given GOVERNMENTAL

After successful processing of the data, the downloaded content should appear on the appropriate pages (new categories in the category list on the Supplier's product categories page (/accounts/supplier/categories, downloaded product on the My catalog /catalog_supplier/page)

Expected set of tags:

# List of currencies:
currencies:
- currency: string
# Attributes:
# id = "string" - (RUB, EUR)

categories: # List of categories
- category: string
# Arguments:
# id - Vendor category identifier

offers:
# List of items:
- offer:
# Attributes:
# available = "true" the remainder is 1 if there is a tag and it is true, or 0 if there is no tag or it is false

# Nested tags
name: string # Product name
vendorCode: string # Product code
description: string # Product description
categoryId: string # Vendor category
price: number # Price per unit.
currencyId: string # (RUB, EUR)
param: string # Product parameters
# Attributes:
# name = "Width"

picture: string # Link to image

warehouse: number # Stock balances
# Attributes:
# name = "string" - warehouse name
# unit = "string" - (pcs., kg.)

Sv translation
languagept_BR

O sistema permite que o fornecedor adicione produtos ao portal importando um arquivo com a extensão .YML.

Информация

O arquivo YML que você baixa deve conter frases simplificadas.

  1. Abra meu diretório.
  2. Clique em "Dados de carga" do botão YML.

Na janela que abre, verifique as caixas de seleção necessárias:

  • Disponibilidade de atualização — permite ou proíbe a renovação dos saldos dos produtos.
  • Preços de atualização — Permite ou proíbe a atualização dos preços dos itens do arquivo.
  • Atualizar propriedades do produto — Permite ou impede a atualização das propriedades do produto a partir de um arquivo.

Selecione o arquivo com o . YML e clique em Salvar.

A janela Registro de Processamento de Dados é aberta, exibindo o status atual de download.

Em seguida, você precisa mapear as categorias para exibição correta no portal.

Para obter mais informações sobre mapeamento manual da categoria, consulte:

Раскрыть
titleConjunto de amostras de tags de arquivo YML

# Lista de moedas:
currencies:
- currency: string
# Atributos:
# id="string" - (RUB, EUR)

# Lista de categorias
categories:
- category: string

# Argumentos:
# id - ID de categoria do fornecedor

# Lista de itens:
offers:
- offer:
# Atributos:
# available="true" no restante é colocado 1, se a tag é e ele true; ou 0, se não há tag ou ele false

# Tags aninhadas:
name: string # Nome do produto
vendorCode: string # Código do produto
description: string # Descrição do produto
categoryId: string # Categoria fornecedora
price: number # Preço unitário
currencyId: string # (RUB, EUR)
param: string # Parâmetros do produto
# Atributos:
# name="Largura"

picture: string # Link de imagem

warehouse: number # Saldos de ações
# Atributos:
# name="string" - nome do armazém
# unit="string" - (peças, quilogramas)