A shopper chooses SHIRT-RED, but the coupon gives no discount from the SHIRT-RED entry. Check the SKU on the line that reaches the rule.
Configure one rule and two variants
Choose an active coupon rule in Discount Rule per Product. Set up SHIRT and two variants at PLN 100 each. Test one unit with TEST15 in the same store view. Activate one 15% entry at a time for the parent SKU or SHIRT-RED, then recalculate the basket.
Compare the lookup and the line discount
In the isolated 1.0.59 test, the rule received the parent line. The current SKU could show the variant and the original product SKU was SHIRT. The extension used the original SKU to find an active entry in the store scope.
| Case | Entry SKU | Selected variant | SKU queried | Discount |
|---|---|---|---|---|
| Parent with red | SHIRT | SHIRT-RED | SHIRT | 15 |
| Parent with blue | SHIRT | SHIRT-BLUE | SHIRT | 15 |
| Variant entry with red | SHIRT-RED | SHIRT-RED | SHIRT | 0 |
| Variant entry with blue | SHIRT-RED | SHIRT-BLUE | SHIRT | 0 |
SHIRT produced PLN 15 in both cases. SHIRT-RED did not match the key looked up. The table shows the amount handed over to the native validator. Per-SKU discount documentation
Check the key on the processed line
If the rule processes the parent line, check its catalogue SKU and the scope of the active entry. Test both variants and check the final recalculated basket discount. Where other offers apply, read the rule IDs too. Guide to overlapping discounts
