How to distribute YML products into sections

← Back

For YML with categories, the import shows a "Sections from file" block: check the categories, click "Create sections" — and new objects will be placed under them.

  1. Open "Import" and upload the supplier's YML file. If it contains categories, a "Sections from file" block will appear.
  2. Check the desired categories. Checking a category also checks its subcategories; there is a "Search category" for finding them.
  3. In "Nest in section", select where to place the tree, or "— to site root —". If desired, check "Copy this section's properties to new sections".
  4. Click "Check", then "Create sections".
  5. In the column mapping, the categoryId column must be set to "Category from file" — usually it is selected automatically. Then import as usual.

The "category / subcategory" structure is repeated by site sections. New sections take the module, access, and preview template from the section they are nested in.

The link between a category and a section is remembered. Re-running with the same file won't duplicate anything: already linked categories are shown with a gray checkmark and the section name. A section with the same name in the same place is also not duplicated, but linked. An unchecked category is skipped, and its subcategories are placed under the nearest created section above.

A new object is placed in the section of its category. If the category has no section — in "Section for new objects", with a note in the report.

If it didn't work

  • The "Sections from file" block is missing. It appears only for YML that has a list of categories. For CSV and XLSX it never appears — there, use the "Section" column.
  • Already uploaded objects didn't move. The category only distributes new objects. Existing ones are moved manually using the "Section" field.
  • I deleted a section — the category is offered again. That's by design: the link is deleted along with the section.
Did the article help?

See also

Tips for working with the builder

The "Help" section is made for those who are building a website on "Pervaya Liniya" for the first time. It contains answers to common questions: how to create a website, what to write in the fields, how to edit texts and photos, how to connect your own domain, and how to set up sections. The materials will help you figure things out without contacting support.

The builder is simple: you fill in the fields on the creation page, and then edit the content directly on the finished website. If something does not work or is unclear, check the relevant help item. The instructions are written in plain language and describe every step.

In Help you will find answers to questions:

  • how to come up with a website address and what to do if the name is taken;
  • how to change the title, description, and other texts on the page;
  • how to add products, services, or request forms;
  • how to connect your own domain instead of an address on firstline.com.ua;
  • how to set up sections and modules for your business needs.

If you cannot find the answer you need, use the feedback form — we will help you figure it out. The section is updated so that you can always find current information about working with the builder.