cancel
Showing results for 
Search instead for 
Did you mean: 

Variant is getting deleted on removal of its reference from base product

former_member686625
Participant
0 Kudos
268

Hi All,

If I try to remove the variant product reference from the base product and save the base product, variant product is getting deleted from the database.

Remove interceptor do not receive any call so that is not helping.

I believe it is happening because in Product2VariantRelation, variant target qualifier has partOf modifier defined.

Requirement is to restrict user from removing this reference so that variant product don't get deleted by accident.
How can we achieve it, please suggest.

Version in use - 1808

Thanks

Accepted Solutions (0)

Answers (0)