Repository › Forums › Support › WooCommerce Extended Coupon Features PRO › Obtain coupon info › Reply To: Obtain coupon info
November 3, 2016 at 8:18 pm
#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]