conditions_magento

Step 2: Define the Conditions

In this step, the conditions are described that must be met for an order to qualify for the
promotion. The rule goes into action whenever the set of conditions is met.
1. In the panel on the left, select Conditions. The first rule appears by default, and states:
If ALL of these conditions are TRUE:
The statement has two underlined links which when clicked, display the selection of options
for that part of the statement. You can create different conditions by changing the combination
of these values. Do any of the following:

  • Click the ALL link, and select “ALL” or “ANY.”
  • Click the TRUE link and select “TRUE” or “FALSE.”
  • Leave the condition unchanged to apply the rule to all products.


2. Click the Add button at the beginning of the next line. Then, choose one of the following
options from the list to describe the condition that you want to set for the rule.

  • Product attribute combination
  • Products subselection
  • Conditions combination
  • Cart Attribute

Example 1: Regional Price Rule

To create a regional price rule, select one of the following cart attributes:

  • Shipping Postcode
  • Shipping Region
  • Shipping State/Province
  • Shipping Country

Example 2:  Shopping Cart Totals

To base the condition on shopping cart totals, select one of the following cart attributes:

  • Subtotal
  • Total Items Quantity
  • Total Weight

When you make a selection, the basic structure of the statement appears in the box with
additional links to mark where you can select information. Each underlined word is a building
block that describes a different aspect of the condition.
3. In the list under Product Attribute, select the attribute upon which the condition is based. For
this example, the selected condition is “Attribute Set.”


For an attribute to appear in the list, its Use for Promo Rules Conditions property must be set to
“Yes.”
The condition appears in the statement, followed by two more underlined links. The statement
now says:

If ALL of these conditions are TRUE:
If an item is FOUND in the cart with ALL of these conditions true
Attribute Set is …
4. Click the is link, and select the comparison operator that is needed to describe the condition to
be met. In this example, the options are “IS” and “IS NOT.”
5. Click the … “more” link, and choose the attribute set upon which the condition is based. The
selected item appears in the statement to complete the condition.

If ALL of these conditions are TRUE:
Attribute Set is Electronics
6. To add more conditions, click the Add button and again, choose one of the following:

  • Conditions Combination
  • Product Attribute

Then, repeat the process until the condition is complete.
If at any time you want to delete part of the statement, click the Delete button at the end of
the line.

Leave a Comment

Your email address will not be published. Required fields are marked *