You can specify the conditions under which the discount will be applied. To do this, click the Add condition button within the pricing component.
Set all the field values and price options that should trigger the discount. In this example, we will select the Self-delivery checkbox.
See the example in action: