Categories. Autocreate

    Create categories from a file

    The plugin needs to see the category hierarchy and define which category is the top category. Because it builds a category chain from top to bottom, starting with the top category.

    autocreate categories opencart

    (in the image above, the top categories are underlined with a red line).

    The top categories must be created manually in the OpenCart admin panel in advance. Usually, these are the menu top categories. In this case, there are only three.

    Supplier form settings

    The plugin reads the price list line by line, skipping lines that do not contain an SKU or product price. Therefore, we need column 4, filled with an arbitrary number.

    The contents of column 4 can be used as an SKU and as a price:

    category create

    category create

    In the field "Categories", enter the column numbers separated by commas, starting with the lowest category:

    category create

    Set "Action":

    action categories

    Save the form. Open it and click "Start". Choose your file and run the program.

    When the action is performed go to the categories list page and click the button "Rebuild":

    rebuild categories

    Category URLs are generated automatically. Images and metadata can be created or updated using "Tools" and "SEO template".

    Create categories from an XML/YML file

    Categories are created from data located at the beginning of the price list:

    yml file categories

    Supplier form settings

    Fill in the "SKU" and "Price" fields with arbitrary numbers, and also specify the product separator in the "Separator" field in the lower-left corner of the supplier form:

    product delimiter

    Select "Action" to "Create categories" Save the form. Open it and click "Start". Choose your file and run the program.

    When the action is performed go to the categories list page and click the button "Rebuild":

    rebuild opencart categories

    Category URLs are generated automatically. Images and metadata can be created or updated using "Tools" and "SEO template".

    Usergio Copyright © 2022