Skip to main content
All CollectionsImport / ExportImport
How to use master rules?
How to use master rules?
Updated over 9 months ago

Transforming your data can be a time consuming task. With Elovate Master rules, you can easily pre-define import values based on your own logic.

Master rules can be used to transform your data from your import file to an existing Magento attribute value.

To begin using the master rules, navigate to General Settings > Master Rules in the sidebar. Alternatively, you can access them by going to an existing import and selecting "Add Rules."

Screenshot 2023-11-21 at 14.19.57.png

  • Add master rule: will open a slide-over in which you can configure your master rule

  • Add master rule group: will open a slide-over in which you can create a new master rule group. You can add existing master rules directly into this group.

Use cases

  • Set URL key based on name and manufacturer

  • Automatically increase prices by a percentage

  • Prepend / append descriptions

Set URL key based on name and manufacturer

Screenshot 2023-11-21 at 14.34.31.png
  • IF attribute 'manufacturer' in import file is NOT EMPTY

  • THEN update attribute 'url_key' with value from import 'name' = productname

  • THEN append attribute 'url_key' with value '-' = productname-

  • THEN append attribute 'url_key' with value from import 'manufacturer' = productname-manufacturer

Automatically increase prices by a percentage

  • If attribute 'price' is NOT EMPTY

  • THEN update attribute 'price' with calculation

  • TAKE price and multiply with custom value 1.1

Prepend / append descriptions

  • If attribute 'description' is NOT EMPTY

  • THEN append attribute 'description' with value (text)

Did this answer your question?