Skip to main content

How to use master rules

Automate data transformations during imports by defining IF–THEN rules and reusable rule groups in Elovate.

Updated this week

Master rules let you pre-define how incoming import values should be transformed into Magento attribute values.

They save time, standardize data, and reduce manual fixes.


Where to find master rules

General Settings → Master rules (manage all rules and groups)

Or inside an import job: Add rules (attach existing rules/groups or create new ones)


Create a master rule

  1. Go to General Settings → Master rules.

  2. Click Add master rule (opens a slide-over).

  3. Define your logic using IF conditions and THEN actions.

  4. Save.

You can also open Add rules inside an import job to create/attach rules for that job.


Create a master rule group (optional)

  1. Click Add master rule group.

  2. Name the group and add existing master rules to it.

  3. Use groups to reuse a bundle of rules across multiple imports.


Attach rules/groups to an import

  1. Open your import job → Add rules.

  2. Select one or more master rules or a master rule group.

  3. Save, then Validate the import to preview transformed values before running.


Common use cases (with examples)

1) Set URL key based on name and manufacturer

  • If attribute manufacturer in import file is not empty

  • Then update url_key with value from import name → productname

  • Then append url_key with value -productname-

  • Then append url_key with value from import manufacturer → productname-manufacturer

2) Automatically increase prices by a percentage

  • If attribute price is not empty

  • Then update price with calculation:
    Take price and multiply by 1.1 (adds 10%)

3) Prepend/append descriptions

  • If attribute description is not empty

  • Then append description with value (text)


Tips

  • Build small, focused rules and group them when you need a reusable bundle.

  • Always Validate after attaching rules to confirm the exact changes before import.

  • You can manage rules centrally in General Settings and apply them job-by-job via Add rules.

Did this answer your question?