Similar with what's done for Order Items and Product Variations
#2557477: Add line item -> order and product variation -> product backreferences

Comments

vasike created an issue. See original summary.

vasike’s picture

vasike’s picture

Status: Active » Needs review

new PR for the parent issue, it includes the solution for this.
https://github.com/drupalcommerce/commerce/pull/660

There is also an update to create the new field and update the existing coupons.

bojanz’s picture

Status: Needs review » Closed (duplicate)

Closing for the parent issue.