function get_active_rules_for_product should correctly work for variation
Thank you. Yes – that goes in the right direction. I get the rule-object with the property ‘bulk_adjustments’. Here are all the rules for that product. But this doesn’t show which of the rules is applied, or what the resulting price is – or am I missing that?