Creating promotions (discounts)
The plugin generates voucher codes based on Shopware promotions. For each reward type, a matching promotion must be created in Shopware in advance.
Basic principle
The plugin accesses an existing Shopware promotion and automatically generates an individual code from it, which it issues to the customer. The promotion defines the discount – the plugin supplies the personalized code.
Mandatory requirement for all reward types: Every linked promotion must be configured under Codes tab → Code type: Individual promotion codes. The plugin generates these codes automatically on every redemption. Without this code type, the plugin cannot generate a code.
Promotion for a voucher reward
A voucher reward can, for example, grant a percentage or absolute discount.
Step by step
Open Marketing → Promotions → Add promotion
Name: e.g. "Bonus – €10 voucher"
Active: enabled
Tab General:
Maximum redemptions per customer:
1
Tab Discounts:
Type: Fixed or percentage
Value: e.g.
10(for €10)Apply to: Cart total
Tab Codes:
Code type:
Individual promotion codes← required so the plugin can generate codes
Save
Enter the promotion in the plugin under Reward → Linked promotion
Promotion for a free-product reward
A free product is implemented via three components: a dynamic product group, a price rule and a promotion.
Step 1: Create a dynamic product group
Open Catalogues → Dynamic product groups → New product group
Name: e.g. "Reward 1"
Under Conditions, add the desired products or filters (e.g. "Product → Is one of → [your products]")
Save
Step 2: Create a price rule
Open Settings → Rules → Add rule
Name: e.g. "PRB – Product: Reward 1"
Priority:
1Under Conditions:
Condition: Item in dynamic product group
Operator: All
Operator: Is one of
Product group:
Reward 1(the group created in step 1)
Save
Step 3: Create a promotion
Open Marketing → Promotions → Add promotion
Name: e.g. "Bonus – Free product: Reward 1"
Tab General:
Maximum redemptions per customer:
1
Tab Discounts:
Type: Percentage
Value:
100Apply to: selected items with a price rule
Price rule:
PRB – Product: Reward 1(the rule created in step 2)
Tab Codes:
Code type:
Individual promotion codes← required so the plugin can generate codes
Save
Enter the promotion in the plugin under Reward → Linked promotion
Enter the product group in the plugin under Reward → Product group
Promotion for free shipping
Marketing → Promotions → Add promotion
Name: e.g. "Bonus – Free shipping"
Tab General:
Maximum redemptions per customer:
1
Tab Discounts:
Type: Shipping costs
Value:
100(percent)
Tab Codes:
Code type:
Individual promotion codes← required so the plugin can generate codes
Save
Enter the promotion in the plugin under Reward → Linked promotion
Common mistakes
Code is generated but does not apply
Promotion not active or expired
Check the active toggle and validity period
100% discount applies to the entire cart
Price rule missing or misconfigured
Create a rule with a product-group condition and set it in the promotion
Code can be redeemed multiple times
"Max. redemptions per customer" not set
Set to 1
Plugin cannot generate a code
Code type not set to "Individual promotion codes"
Codes tab → set code type to "Individual promotion codes"