How to create a custom Buy X Get Y discount

Hi. I’m building a product discount for a Discount Remix App on the Buy X Get Y basic but with a custom logic not initially provided my Shopify.

I would like to reproduce this Customer Buys/Customer Gets configuration card from the Shopify Discounts (see image attached) so I can extend it with my own custom logic. Is there is a tutorial or a section of the dev documentation that I can use as a guidance/inspiration?

I’ve following how to Build UI with Remix but it doesn’t mention the product/collection selection that I’m looking for.

Thanks very much for your assistance :slight_smile: :pray: