#773
info17
Participant

Is it possible to restrict rule to be applied to certain product using a hook?

I’m using this extension of WooCommerce Subscription
woocommerce-subscribe-all-the-things
https://github.com/Prospress/woocommerce-subscribe-all-the-things

Since this extension handles regular product and subscription as one but variation, I can not filter out from GUI.
I need to check see if cart item has this value:
cart[id][wccsub_data][active_subscription_scheme_id]