How to create auto discounts with products that have a selling_plan?

There seems to be a limitation with Shopify auto discounts, where once you add a selling_plan to the product (ex: through membership/subscription apps), that it no longer recognizes it as the same product.

I’ve tried a few discount apps too, and they all run into the same issue once the selling_plan is introduced to the product.

The flow that I would like to have is to offer an immediate discount if a membership is added to cart, to be triggered by the existence of the product in the cart (ex: auto-discount set up as a Buy X Get Y discount code), and the discount is removed if the membership product is removed.

Is there a simple solution or workaround for this?

Thank you!

Hello, I am having the same issue. Did you ever find a solution?