Hello!
We are currently developing a discount app where we would like to automatically apply discounts for certain customers/segments (e.g. if a merchant has a rewards system of some sort). However, automatic discounts cannot restrict to customers, only code discounts can.
I would love if that feature was added, it would make it much easier to create this functionality!
Quickly also, why is the product/collection restriction not a built-in feature for product discounts? It seems like it would make sense to have it process before our function is run, to save on resources. Plus, I can’t seem to find a way to get a product’s collections to filter them in my function. There’s “inAnyCollection”, but that’s not useful since it’s in the function’s input though isn’t it?