Product discount reference expansion

@OlegIlyenko @lauraluiz please review soon.