# SKU generator: automated product code management

> This guide will walk you through setting up your style code system and managing your product categories, sizes, and seasons in Vestis Labs.

Source: https://docs.vestislabs.com/settings/sku-generator-automated-product-code-management/

Open a web browser and navigate to [**app.vestislabs.com**](https://app.vestislabs.com/auth/login). Make sure users are logged into the account.

## SET UP THE FORMULA CODE FOR STYLE

Click on "**Settings \> Code Generator**" in the dashboard menu.

![Click on "Settings Code Generator" in the dashboard menu.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/01-click-on-settings-code-generator-in.webp)

The code design tool determines how your product identifiers will be structured. Please note that this configuration is fundamental to system setup. Once established, this formula will automatically apply to all products, ensuring consistency throughout the inventory.

![The code design tool determines how your product identifiers will be structured.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/02-the-code-design-tool-determines-how.webp)

Click on **"Formula Builder"** to configure the code generation formula.

![Click on "Formula Builder" to configure the code generation formula.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/03-click-on-formula-builder-to-configure.webp)

Click on the **"Separator"** field. Choose the separator character (this is what will go between each part of the code, like a dash **"-"** or underscore **"\_"**)

**Suggestions: Most people use a dash "-" because it's easy to read.**

![Suggestions: Most people use a dash "-" because it's easy to read.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/04-suggestions-most-people-use-a-dash.webp)

Users will define the information elements to be included in the complete style code format (SKU).

Click the buttons under **Add Element** (for example **Season** or **Category**) to select the format elements of the product code.

![Click on the "+ Add Elements" to select the format element product code.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/05-click-on-the-add-elements-to.webp)

Drag items between lines to organize your formula.

Click and drag an item from one line to another line to rearrange the SKU formula.

![Click and drag an item from one line to another line to rearrange the SKU formula.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/06-click-and-drag-an-item-from.webp)

Click **“X”** to remove an item from a row in the SKU formula.

![Click “X” to remove an item from a row in the SKU formula.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/07-click-x-to-remove-an-item.webp)

Click **Create Custom** to create custom content.

![Click on the "+ Custom Elements" to create a custom content.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/08-click-on-the-custom-elements-to.webp)

Choose the **Custom type** for the SKU formula:

- **Text** Enter fixed text that will appear exactly as input in the SKU code (e.g., brand name, category, or prefix).
- **Number sequential** Generate a sequence of numbers that automatically increments (e.g., 001, 002, 003).
- **Letter sequential** Generate a sequence of letters that automatically increments (e.g., A, B, C).

![Choose the custom type for the SKU formula:](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/09-choose-the-custom-type-for-the.webp)

Input the desired custom value based on the selected type.

Click **“Create”** to apply and add it to the SKU formula.

![Click “Create” to apply and add it to the SKU formula.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/10-click-create-to-apply-and-add.webp)

**This format provides comprehensive product information in a logical sequence and helps to quickly identify products.**

1. **"Season"** to add a season to your formula
2. **"Category"** to add product category
3. **"Style"** to add the style number
4. **"Material"** to add material type
5. **"Color"** to add a color code
6. **"Size"** to add size information

**Suggested Formula: SEASON-CATEGORY-STYLE-MATERIAL-COLOR-SIZE.**

![Suggested Formula: SEASON-CATEGORY-STYLE-MATERIAL-COLOR-SIZE.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/11-suggested-formula-season-category-style-material.webp)

Ensure the style code aligns with the SKU format by selecting these elements:

1. "**Category**" to add product category
2. "**Style**" to add the style number

**Suggested Formula: CATEGORY-STYLE**

![Suggested Formula: CATEGORY-STYLE](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/12-suggested-formula-category-style.webp)

Go to **"Settings"**

![Go to "Settings"](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/13-go-to-settings.webp)

In the **Setting Category Section,** choose the generation method. There are three options:

1. **"Letters (First no. of letters)"** - assigns the beginning letters of each name as the code (DRESS - DRE)
2. **"Letters (Sequential)"** - assigns letters in order (A, B, C, etc.)
3. **"Numbers (Sequential)" -** assigns numbers in order (001, 002, 003, etc.)

![In the Setting Category Section, choose the generation method.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/14-in-the-setting-category-section-choose.webp)

Choose **"Letters (First no. of letters)"** and enter the Digit count of the letters.

> [!NOTE]
> For the most effective code structure, we recommend selecting "Letters (First no. of letters)" as the preferred generation method.

![Note: For the most effective code structure, we recommend selecting "Letters (First no.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/15-note-for-the-most-effective-code.webp)

Use the **Auto-generate** toggle to turn automatic code assignment on or off.

![Use the toggle to turn Auto Generate Code on or off.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/16-use-the-toggle-to-turn-auto.webp)

**Example in action: If you choose 3 letters, "DRESS" becomes "DRE".**

The preview of the SKU formula will be displayed below the field.

![The preview of the SKU formula will be displayed below the field.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/17-the-preview-of-the-sku-formula.webp)

In the **Setting Colors section**, we recommend selecting **"Numbers (Sequential)"** as the preferred generation method. Enter the digit count and the starting number.

> [!NOTE]
> to minimize the potential confusion that may arise from abbreviated color names. This approach maintains simplicity and organizational consistency.

![Note: to minimize the potential confusion that may arise from abbreviated color names.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/18-note-to-minimize-the-potential-confusion.webp)

**Example in action: Sequential numbering (001, 002, 003...)**

In the **Setting Material Section,** we recommend selecting **"Letters (First no. of letters)"** as the preferred generation method for the most effective code structure. Enter the Digit count of the letters.

![In the Setting Material Section, we recommend selecting "Letters (First no.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/19-in-the-setting-material-section-we.webp)

**Example in action: If you choose 3 letters, "COTTON" becomes "COT".**

In the **Setting Size Section,** for the most effective code structure, we recommend selecting **"Letters (First no. of letters)".** Enter the Digit count of the letters

> [!NOTE]
> Users can set the size code manually (See step 17) as the preferred generation method.

![Note: Users can set the size code manually (See step 17) as the preferred generation method.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/20-note-users-can-set-the-size.webp)

**Example in action: If you choose 3 letters, "MEDIUM" becomes "MED".**

In the **Setting Style Number Section**, we recommend selecting **"Numbers (Sequential)"** as the preferred generation method. Enter the Digit count and the starting number.

> [!NOTE]
> to minimize the potential confusion that may arise from abbreviated names. This approach maintains simplicity and organizational consistency.

![Note: to minimize the potential confusion that may arise from abbreviated names.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/21-note-to-minimize-the-potential-confusion.webp)

**Example in action: Sequential numbering (001, 002, 003...)**

In the **Setting Season Section,** for the most effective code structure, we recommend selecting **"Letters (First no. of letters)"** as your preferred generation method. Enter the Digit count of the letters

![In the Setting Season Section, for the most effective code structure, we recommend selecting "Letters (First no.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/22-in-the-setting-season-section-for.webp)

Users can view, edit, or delete the custom codes they have created.

![Users can view, edit, or delete the custom codes they have created.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/23-users-can-view-edit-or-delete.webp)

Users can create additional custom codes to further customize the SKU formula.

![Users can create additional custom codes to further customize the SKU formula.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/24-users-can-create-additional-custom-codes.webp)

Data Manager functions as the master product library, enabling users to establish and maintain essential data elements including categories, sizes, and seasons. These components are essential to the proper operation of your code generation system.

Go to **"Data Manager"**

![Go to "Data Manager"](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/25-go-to-data-manager.webp)

To set the code generator manually, select Manage the elements, For Example, **"Manage Size."**

![To set the code generator manually, select Manage the elements, For Example, "Manage Size."](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/26-to-set-the-code-generator-manually.webp)

Existing data will be automatically updated when users create or modify codes for **categories, colors, materials, sizes, and seasons** for each style through the platform.

Click the **edit icon** for any existing size to modify the code.

![Click the edit icon for any existing size to modify the code.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/27-click-the-edit-icon-for-any.webp)

Enter the new code and click "**Save**" when done.

![Enter the new code and click "Save" when done.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/28-enter-the-new-code-and-click.webp)

Users can add the created sizes in bulk mode to the data manager. **Turn ON the bulk mode toggle.**

![Users can add the created sizes in bulk mode to the data manager.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/29-users-can-add-the-created-sizes.webp)

Click the **"Select All"** button to select all available sizes at once, or manually select individual sizes as needed.

![Click the "Select All" button to select all available sizes at once, or manually select individual sizes as needed.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/30-click-the-select-all-button-to.webp)

Click "**Add Sizes"** (or however many users need)

![Click "Add Sizes" (or however many users need)](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/31-click-add-sizes-or-however-many.webp)

The sizes will automatically be added to the data manager.

![The sizes will automatically be added to the data manager.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/32-the-sizes-will-automatically-be-added.webp)

> [!NOTE]
> The same steps apply when managing Categories, Colors, Materials, Sizes, and Seasons within the Code Generator.

Users can add the code manually. Turn ON the Manual code entry toggle field if you want a specific code.

![Users can add the code manually.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/33-users-can-add-the-code-manually.webp)

Enter the code to customize your own code generator

![Enter the code to customize your own code generator](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/34-enter-the-code-to-customize-your.webp)

Enter the code manually, then click **Add Categories**

![Enter the code manually, click "+add categories"](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/35-enter-the-code-manually-click-add.webp)

If users create new Categories, Colors, Materials, Sizes, and Seasons, they will be added automatically to the data manager and generate the codes.

![If users create new Categories, Colors, Materials, Sizes, and Seasons, they will be added automatically to the data manager…](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/36-if-users-create-new-categories-colors.webp)

To automatically create and manage data formulas, navigate to the **Library**, **Settings**, and **Management** page.

For example to create a new Season:

Go to **"Settings\> Collection & Style."**

![Go to "Settings Collection & Style."](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/37-go-to-settings-collection-style.webp)

Select "+**New**" to create a new season

![Select "+New" to create a new season](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/38-select-new-to-create-a-new.webp)

Enter the name of the season and select the status to be active.

![Enter the name of the season and select the status to be active.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/39-enter-the-name-of-the-season.webp)

Click "**Save**" to create the new season.

![Click "Save" to create the new season.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/40-click-save-to-create-the-new.webp)

Go back to the "**data manager \> Seasons**" from the left bar menu, and the newest season will be added to the data manager.

![Go back to the "data manager Seasons" from the left bar menu, and the newest season will be added to the data manager.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/41-go-back-to-the-data-manager.webp)

> [!NOTE]
> The same steps apply when creating new Categories, Colors, Materials, Sizes, and Seasons.

## GENERATING THE CODE FORMULA TO STYLE

Go to **"Collection & Style \> Style**" to generate the SKU code for the material

![Go to "Collection & Style Style" to generate the SKU code for the material](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/42-go-to-collection-style-style-to.webp)

> [!IMPORTANT]
> Ensure all required fields are completed before generating SKU codes. All elements necessary for code creation must be filled out.

Click the **generator icon** to create a style code based on the Style Code Format configured in the previous step.

![Click the generator icon to create a style code based on the Style Code Format configured in the previous step.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/43-click-the-generator-icon-to-create.webp)

> [!NOTE]
> The SKU numbers are generated in the order each style is created, and the sequence runs across all styles within your brand (not by category). This approach ensures that every SKU remains uniq **ue and traceable, avoiding any duplicates that could cause issues when exporting or integrating data later.**

**[The example of the SKU-generated number output can be accessed here](https://docs.vestislabs.com/settings/the-example-of-the-sku-generated-number-output-can-be-accessed-here/)**

Click **"Manage SKU codes"**

![Click "Manage SKU codes"](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/44-click-manage-sku-codes.webp)

Users can upload an additional image to be displayed on the style barcode label.

Click to upload the picture.

![Click to upload the picture.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/45-click-to-upload-the-picture.webp)

Click **“Generate All”** to generate all style categories, or manually select individual categories as needed.

![Click “Generate All” to generate all style categories, or manually select individual categories as needed.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/46-click-generate-all-to-generate-all.webp)

> [!NOTE]
> The system automatically creates distinct codes for all product variations using the formulas you established.

Click **"Select a style input."**

![Click "Select a style input."](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/47-click-select-a-style-input.webp)

> [!NOTE]
> To generate SKU codes with material information, select a style input that contains the material details for this style.

Click **"Save Selection"**

![Click "Save Selection"](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/48-click-save-selection.webp)

Click "**Save**" to confirm and store your SKU.

![Click "Save" to confirm and store your SKU.](https://docs.vestislabs.com/assets/settings/assets/sku-generator-automated-product-code-management/49-click-save-to-confirm-and-store.webp)
