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

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

Ключ

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

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

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

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

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

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

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

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

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

Название атрибутаЗначениеКомментарий
currencies
:
- currency: currencyId: string #
string
# Атрибуты:
# id="string" - (RUB, EUR)

# Список категорий
categories:
- category: string

# Аргументы:
# id - Идентификатор категории поставщика

# Список элементов:
offers:
- offer:
# Атрибуты:
# available="true" в остаток кладется 1, если тег есть и он true; либо 0, если тега нет или он false

# Вложенные теги
name: string # Наименование товара
vendorCode: string # Код товара
description: string # Описание товара
categoryId: string # Категория поставщика
price: number # Цена за ед.
Список валют
namestring Название товара
categoriesstringСписок категорий
vendorCodestring Код товара
descriptionstring Описание товара
categoryIdstring Категория поставщика
pricenumber
(RUB, EUR)
currencyId
param: picture: string #
string
# Параметры товара
# Атрибуты:
# name="Ширина"
(RUB, EUR)
picturestring
Ссылка на изображение
warehouse
:
number
#
Остатки на складе

# Атрибуты:
# name="string" - наименование склада
# unit="string" - (шт., кг.)Более подробную информацию об элементах файлов 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.png

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.

Fig. 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.

2017-07-26_0307_001.png

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.)

...