Skip to main content

Rules Editor - Overview

Updated yesterday

The editor of Rules is one of Koongo's most powerful tool that lets you manipulate, optimize, and enrich your imported product data helping you create the perfect export to meet the requirements of your chosen online marketplaces and selling channels.

You can create Rules for any attribute to transform, modify or adjust its value across any of your channel profiles. There are also pre-defined Rules that you can use and modify easily.

ME_overview_4.png

ME_overview_6.png

Using 'do - only when' Statements

A Rule consists of a set of Actions, and you can define multiple Actions at once. Each Rule applies these Actions to your product data according to the specified conditions. Each Action has two components: the 'do' part, which defines what to perform, and the 'only when' part, which sets the condition under which the Action is applied. Using these statements, you define a desired Action that will be applied under the condition you like. With the ‘do’ statement, you can then apply an Action to a group of items, such as removing part of the text or changing the information in a specific field. The ‘only when’ decides what group of items you want to target, for instance, all items with no image link or price.

Example:

  • do - Increase price_final_with_tax by 20 %

  • only when - price_final_with_tax is less than 100

ME_overview.png

Using Rules and Actions

You can define multiple Actions within a single Rule to produce different results based on specific conditions.

The Rule structure is as below:

  • Do Action#1 only when Condition#1 is true

  • Else do Action#2 only when Condition#2 is true

  • Else do Action#3 only when Condition#3 is true

  • Else do Action#4 for all other items

Example:

  • Increase price_final_with_tax by 20 % only when price_final_with_tax is less than 100

  • Increase price_final_with_tax by 15 % only when price_final_with_tax is less than 200 (and above 100)

  • Increase price_final_with_tax by 10 % only when price_final_with_tax is less than 500 (and above 200)

  • Else export price_final_with_tax value

ME_overview_2.png

ME_overview_3.png

Using Rule Operations

You can use plenty of operations for the 'do' part. Please check the operation complete list at the link below:

Using Rule Conditions

You can use plenty of conditions for the 'only when' part. Please check the operation complete list at the link below:

Rules Basic Examples

Please check some basic examples of how to use the Macro Editor at the link below:

My Rules

After creating a Rule, it will be automatically saved for future use, whether in the same export profile or a different one. You can access all saved Rules in the 'My Rules' section of the drop-down list when creating a new Rule, where each will be listed under its previously used name

my


Within the drop down menu you will also find some Predefined Rules which some basic Rules templates.

predefined.png

When you choose a specific Rule from your collection My Rules, you will have access to its usage count, indicating the number of times it has been employed across all your projects.

macro

By default, if a Rule has been used multiple times, editing it will be disabled until you confirm your intent by clicking Edit Rule. When you choose to modify a Rule that's used in multiple places, you can decide whether to apply the changes everywhere or only to the current attribute and export profile.

editmacro.png

apply-change.png

You can also rename any Rule. Renaming a Rule limits the changes to that specific instance and creates a new entry in the My Rules collection.

Did this answer your question?