Cart price rules can be used to apply discounts to items in the shopping cart based on a particular set of conditions. Discounts are applied automatically as soon as the specified condition has been met or the valid coupon code has been entered.
The status of the rules can be changed or applied to a specific date range.
Step 1: Adding New Rule
1. On the left sidebar, tap Marketing, click on Cart Price Rules under Promotions section.
2. Click on the Add New Rule button on the top right corner.
The configurations include the following options: Rule Information, Conditions, Actions, Labels.
3. Under the Rule Information, give your rule a name and put some description if necessary.
4. Establish the scope for the rule, e.g. specify the website (if you are running multistore) and customer group.
5. Select a Website for which the promotion should be activated.
6. Specify the customer group the discount applies to. In case you would like the promotion to work only for the registered customers, leave “NOT LOGGED IN” option deselected.
7. If the status Active is set to YES, the rule will go into activity immediately.
8. Magento allows Coupon Association with the promotion rule. To assign a coupon code to the rule, set Coupon option to “Specific Coupon” and do the following:
9. Insert a numeric/alphanumeric or alphabetical coupon code which customer later uses during the checkout to receive a discount. Enable Use Auto Generation checkbox to publish multiple coupon codes once the rule is saved.
- Uses per Coupon field specifies the number of times the coupon can be used before expiration. Leave the field blank if there is no limit.
- Uses per Customer field specifies the number of times the coupon code can be used by one single registered customer who belongs to the selected customer group above. Leave the field blank if there is no limit.
*The setting does not apply to guest customers who belong to the “NOT LOGGED IN” customer group.
10. Determine the number of times the coupon can be used by one user.
11. Use the calendar fields can be to set From and To date range for the discount.
12. Set the priority for the rule in relation to other Active cart rules. Number 1 is the highest priority.
13. Include the rule into the listings of Public RSS by setting option to YES.
14. Click Save and Continue.
Step 2: Define Conditions
This step describes how to configure the conditions for the rule.
1. Click Conditions tab on the left. You will see a default statement:
If ALL of these conditions are TRUE:
2. The statement has two bold links, which have a set of options for that part of the condition.
- Click ALL link and select ALL or ANY option;
- Click TRUE link and select TRUE or FALSE option;
- Leave the condition unchanged if you would like to apply the rule to all products.
3. Click Add, small + sign appearing on the left, the new field “Choose a condition to add” will show up prompting to complete a condition.
4. The following attributes can be used to create regional price rules:
- Shipping Post Code;
- Shipping Region;
- Shipping State/Province;
- Shipping Country.
5. The rules can be based on Shopping Cart Totals by using the following attributes:
- Subtotal;
- Total Items Quantity;
- Total Weight.
6. The rules can also be assigned to specific product categories, attributes or attribute sets. Let’s complete a condition and qualify a product category for a discount.
7. Choose Product Subselection from the select menu;
8. On the first part of the condition, click “more” (…) link to specify the number of items followed by the logical operator tool, e.g. is, is not, equals or less than, etc;
9. Click Add, small + sign to complete the condition that is based on Category.
10. Choose Category under Product Attribute menu.
11. Click “more” (…) link to display input field, then click Chooser icon to display category tree.
12. Mark the category checkbox you would like to use as a condition for cart price rule. The condition can be based on any product category that is a child of store’s Root Category.
13. Select attribute to base the condition on product attributes.
[notice type=”warning”]Note! Use for Promo Rule Conditions option must be set to YES for specific attribute in Stores/Attributes/Product//Storefront Properties to make the attribute appear under attribute selection.
The process can be repeated as many times as needed to describe the condition for the promotion qualification.
14. Click Save and Continue.
Step 3: Set Actions
1. The action configurations describe how exactly the prices are updated once the conditions are met. Set Apply to one of the following options to determine the type of calculation that is applied to the purchase:
- Percent of the product price discount. The cart total price is updated by substracting a specified percentage of the original price. The discount will apply to each individual item in the cart that is qualifying for a promotion.
- Fixed amount discount. The cart total price is updated by substracting a fixed discount amount. The discount will apply to each individual item in the cart that is qualifying for a promotion.
- Fixed amount discount for whole cart. Discounts the entire cart total by substracting a percentage value.
- Buy X get Y free. Defines a specific total quantity the shopper must purchase (X) to receive another quantity (Y) free of charge.
2. Enter numeric Discount Amount without units.
3. In the Maximum Qty Discount is Applied To field, insert the value which defines the maximum quantity of the same product which can qualify for a discount in the same purchase.
4. Specify the total in Buy X get Y Free field the customer must purchase to qualify for a promotion.
5. Set Apply to Shipping Amount option to YES to subtract the discount from both Cart Subtotal and Shipping Amounts.
6. Enable Discard Subsequent Rules option to prevent customers from receiving multiple discounts for the same product.
7. Enable Free Shipping for the condition:
- No — free shipping option unavailable;
- For matching items only — free shipping option is available only for the items which match the conditions specified in the rule.
- For shipment with matching items — free shipping available for any shipment method that ships matching items.
8. Click Save and Continue.
Step 4: Labels
1. The label of the rule can be specified for both All Store Views and each individual store. The label appears on the shopping cart page below subtotal. Labels are used to identify the discount.
2. Scroll down to Labels and click arrow-down icon to expand the section.
3. Enter the label text into Default Rule Label for All Store Views.
4. If you are running multiple stores, enter the label text for each individual store under Store View Specific Labels;
5. Click Save.
Step 5: Managing Coupons
1. This field is accessible only if cart rule has been saved and Use Auto Generation option is enabled under primary Rule Information area. Tap Manage Coupon Codes section to expand.
2. You will now have access to advanced configurations of Coupon Codes.
3. Specify the number of coupons in Coupon Qty field;
4. Specify the number of characters in Code Length field.
5. Select Code Format:
- Alphanumeric — consists of both letters and numerals.
- Alphabetical — consists of letters only.
- Numeric — consists of numerals only.
6. Then specify Code Prefix and Code Suffix to be added at the beginning and at the end of the code. These fields are optional.
7. Specify the number of characters separated by dash character in Dash Every X Characters. The option makes the code easier to read.
8. Tap Generate button. Magento will generate a list of codes which will appear below.
9. Refresh the Magento cache.