If you add products often, rules save you mapping each one by hand in the Mapping Inbox. A choice you make by hand always wins, and a rule never changes an existing mapping.
Write a rule
- Open Mapping rules and find New rule.
- Give it a key and a name.
- Under What it does, choose: suggest (a person applies it), map newly discovered products automatically, or mark as not managed by MakerZen.
- Set a priority from 1 to 1000. Higher wins. Choose every store, or one.
- Add conditions under When every condition holds: a product's type, vendor, tag, collection, SKU, title, an option value or its status, compared with is one of, starts with, contains and more.
- Say what matching variants map to, unless it is an ignore rule. Then create it.
A saved rule changes nothing until a store is re-evaluated or a new product is discovered. On a store's Products and mapping tab, Re-evaluate mapping rules shows what your rules would do as a preview, and nothing is mapped until you apply it.
When two rules of the same priority propose different things, the product is marked Rules disagree and waits for you. Editing a rule saves it as a new version.
Value maps
A recipe choice, such as a hat blank, can be decided by each variant's option value. A value map says which item each value means: Black is your black hat blank, Tan is your tan one.
- Open Value maps.
- Under New value map, give it a key and a name.
- List the values, one per line, each as the value, an equals sign, and the item's key.
- Create it.
Then, when you map products to a recipe in the Inbox or in a rule, bind the choice to the option through the map. The form shows the exact wording, for example hat-blank = option Hat Color via hat-colors.
Open Mapping rules — Your rules, and a form to add one.
