A rule keeps a field set for you, on its own. In this article you will build a rule that sets Item Price to a discount off your MSRP (or your cost) for the products you choose. Rules change many products at once, so test yours on a few SKUs before you apply it to the whole catalog. For how rules work in general, see Rules: keep a field set automatically.
The parts of a rule
You find your rules under Catalog > Rules in the main menu. A rule has four parts:
Name. Make sure the name clearly explains the purpose of the rule. That way, you'll be able to remember why it's there later, especially if you plan on making several rules!
Which SKUs. Conditions that pick the products the rule covers. Conditions are joined with "and". Archived SKUs are left out unless a condition asks for them.
Steps. Each step sets one field. A step can set a fixed value, a formula, or Clear the field, or use cases when the value depends on the SKU.
Existing values. Overwrite replaces what is there. Only fill blanks sets the value only where the field is empty.
Choosing your SKUs
In this specific example, we're going to choose products we want to discount by adding a label to them. We'll give those SKUs the label "Amazon Sale". Label names are always lowercase, so the label is saved as "amazon sale".
Note: You do not have to use a label to choose your products. You can use whatever criteria you want. For example, you could add the conditions MSRP is not blank and Amazon Listed is true.
Now that the label has been added to the products we want to discount, open Catalog > Rules and start a new rule. Name it something like "Amazon Sale discount". Under Which SKUs, add the condition that Labels contains "amazon sale". You can check your conditions against the filters in QuickEdit: the editor shows how many SKUs match, and View in Quick Edit opens them.
Setting your step
Fill in Step 1. In this example, we'll discount the MSRP by 20% and set the result in the Item Price field, which is sent to all channels. So the step sets Item Price with a Formula: the MSRP multiplied by 0.8. Use Insert field to add MSRP to the formula. Set Existing values to Overwrite.
Two things to know about this step:
A SKU with a blank MSRP can't be calculated. The rule leaves that SKU's price as it is, and the editor offers Add a case for blank if you want to give those SKUs a price. See Steps.
A rule that sets Item Price skips SKUs the repricer manages, because the repricer sets that price itself. See Rules and the repricer.
Only one rule can set Item Price on your account. If you want different discounts for different groups of products, use one rule with Cases, with one case for each group. See One rule per field.
Turning your rule on
Choose Save and check. Nothing changes yet. Zentail shows how many SKUs will change and a sample of them. Then, under When the rule starts, choose Apply now to change every matching SKU, or Future changes only to leave today's prices alone. Changes wait five minutes before they are written, so you have time to cancel them. See Checking and turning on a rule.
And that's it! There is no schedule to set. The rule acts whenever a field it reads changes on a SKU it covers. Here that means the label and the MSRP. So when you change a product's MSRP, or add the "amazon sale" label to a product, the rule sets the discounted price. If you remove the label, the rule no longer covers that SKU and stops changing its price. It doesn't put the old price back, so set the price you want yourself. Pretty neat, right?





