When calculating product discounts, if the product is a specified product, apply a $20 discount to the product's sell price.
From the Conditional Actions admin page (/admin/store/ca):
- Select the Add a predicate tab
-
Set the following fields
-
Title
$20 Product Specific Discount
-
Trigger
Calculate product discounts
-
Description
When calculating product discounts, if the product is a specified product, apply a $20 discount to the product's sell price
-
Class
Discount
- Click the Save predicate button
-
Set the following fields
-
Available Conditions
Compare a node field value
- Click the Add condition button
-
Set the following fields
-
Comparison value
This field should be set to the node Id of a product.
To find a products node Id, visit the products page and click the edit tab. The products node Id will be the integer just before /edit in the URL.
- Click the Save changes button
- Select the Actions tab
-
Set the following fields
-
Available actions
Apply a discount to a product
- Click the Add action button
-
Set the following fields
-
Title
$20 Product Discount
This is the discount label that will be used on the cart, checkout and review pages along with the invoices.
-
Ammount
-20
- Select the Save changes button
Congratulations, you have completed setting up a $20 Product Specific Discount. The discount should be reflected in the products Sell Price on the product, cart, checkout and review pages as well as on the invoice. You may need to clear Drupal's cache before the changes visible.