When calculating order discounts, if the user is an authenticated user, apply a 10% discount to the order total.
From the Conditional Actions admin page (/admin/store/ca):
- Select the Add a predicate tab
-
Set the following fields
-
Title
10% Authenticated User Discount
-
Trigger
Calculate order discounts
-
Description
When calculating order discounts, if the user is an authenticated user, apply a 10% discount to the order total
-
Class
Discount
- Click the Save predicate button
-
Set the following fields
-
Available Conditions
Check the role of the user.
- Click the Add condition button
-
Set the following fields
- Click the Save changes button
- Select the Actions tab
-
Set the following fields
-
Available actions
Apply a discount
- Click the Add action button
-
Set the following fields
-
Title
Authenticated User Discount
This is the discount label that will be used on the cart, checkout and review pages along with the invoices.
-
Operation
Multiply
-
Ammount
-.1
Although we selected Multiply for the operation, we are actually calculating the value we wish to Add to the order total. In this case we want to add (-.1 times the product sell price) to the product sell price.
- Select the Save changes button
Congratulations, you have completed setting up a %10 Authenticated User Discount. Now lets test it by adding a product to the shopping cart and viewing the checkout page. You should see an Authenticated User Discount line in the Payment method section of the Checkout screen.