Skip to main content
Documentation for version v74

Product and SKU Segments

Segmentation in Altcraft

Product and SKU segmentation works the same way as profile segmentation in the platform. More details about the condition builder and segmentation logic are available in this section.

Description

Product and SKU segments are sets of products and their modifiers (SKUs) grouped by a specific criterion. A finished segment can be exported and used for sales data analysis. There are two types of segments: static and updatable.

Updatable Segments

Updatable segments are product and SKU sets that are recalculated on a schedule based on defined conditions. Such a segment can also be recalculated manually outside the schedule.

To create an updatable segment, go to Market — Updatable segments:



Click "Create". Specify a name, description, and select entities for segmentation — products or SKU. After selection, the segment type cannot be changed:

Then the "Conditions and schedule" block opens. Select conditions or condition groups and set a schedule for automatic updates. Conditions inside a group can be combined using "match all conditions" (AND) or "match any condition" (OR). These settings remain editable later.

Conditions are divided into three groups:

  • Core fields — filtering by name, region, category, product quantity, expiration date, price, delivery, warranty, availability, manufacturer, and tags.
  • System fields — filtering by identifier, additional (string) identifier, creation date, and update date.
  • Custom fields — filtering by user-defined fields.

The same block contains the "Script" button, which opens an editor for manual condition writing. After setting conditions, you can define a product count limit. This limit applies to the selection result after condition filtering.

A segment can be updated daily or on specific days. Update time and time zone are set by the user:

You can also configure automatic segment deactivation after a specified date.

After calculation, the segment view displays a table with all products included in the segment. It shows the fields "Name", "Identifier", "Price", "Quantity", and a button to open product editing:

Available actions for this table:

  • Search : find a specific product.
  • Export products : export the displayed list to an external file.
  • Configure displayed fields : add or remove table columns by dragging a Field from the "Add field" sidebar to "Displayed fields" or back.

Below the product table are the segment update schedule and conditions. Here you can edit them or recalculate the segment outside the schedule:

Below is the "Update history" block. It visually shows changes in the total number of products in the segment for the selected period. You can specify a date range and group data by days or weeks.

Below the update history is the "Log". It contains a detailed record of all operations affecting the segment composition. For each operation, the following is shown:

  • Start date: time when the segmentation process started (adding/removing by conditions).
  • End date: time when the process finished.
  • Initiator: name of the user who initiated the operation.
  • Added: number of products added as a result of the operation.
  • Removed: number of products removed as a result of the operation.
  • Status: current operation state (for example, "Completed", "In progress", "Error").

Segment actions

At the top of the screen, a quick actions menu is available, where you can assign tags, configure access groups, and copy products to another segment.

Static Segments

Static product segments are sets of products and their modifiers (SKU) grouped via API or manually using selection conditions.

To create a static segment, go to Market — Static segments:



Click "Create". Specify a name, description, and select entities for segmentation — products or SKU. After selection, the segment type cannot be changed:



The segment is created. To add products, click "Add" — the "Conditions" block opens.

To add a rule, click "+ Condition". The dropdown menu contains the "Add condition group" option. Conditions inside a group can be combined using "match all conditions" (AND) or "match any condition" (OR):

Conditions are divided into three groups:

  • Core fields — filtering by name, region, category, product quantity, expiration date, price, delivery, warranty, availability, manufacturer, and tags;
  • System fields — filtering by identifier, additional (string) identifier, creation date, and update date;
  • Custom fields — filtering by user-defined fields.

The same block contains the "Clear" button, which fully removes all defined rules, and the "Script" button, which opens an editor for manual condition writing. After setting conditions, you can define a product count limit. This limit applies to the selection result after condition filtering.

After clicking "Add", products matching the selection rules appear in the segment. To remove products from the segment, click "Remove". The removal function works the same way as adding products.

After calculation, the static segment view displays a table with all products included in the segment. It shows the fields "Name", "Identifier", "Price", "Quantity", as well as a quick actions menu for removal or opening product editing:

Available actions for this table:

  • Search : find a specific product.
  • Export products : export the displayed list to an external file.
  • Configure displayed fields : add or remove table columns by dragging a Field from the "Add field" sidebar to "Displayed fields" or back.

Below is the "Update history" block. It shows changes in the total number of products in the segment for the selected period. You can specify a date range and group data by days or weeks.

Below the update history is the "Manual changes log". It contains a detailed record of all operations that affected the segment composition. For each operation, the following is shown:

  • Start date: time when the segmentation process started (adding/removing by conditions).
  • End date: time when the process finished.
  • Initiator: name of the user who initiated the operation.
  • Added: number of products added as a result of the operation.
  • Removed: number of products removed as a result of the operation.
  • Status: current operation state (for example, "Completed", "In progress", "Error").

Segment actions

At the top of the screen, a quick actions menu is available, where you can assign tags, configure access groups, and copy products to another segment.