Repository › Forums › Support › WooCommerce Extended Coupon Features PRO › Select free gift programitically › Reply To: Select free gift programitically
April 1, 2020 at 11:02 pm
#15291
info17
Participant
Is this still usable on current version?
https://www.soft79.nl/forums/topic/obtain-coupon-info/#post-749
WJECF()->get_plugin('WJECF_Pro_Free_Products')->set_session_selected_product( $coupon_code, $product_id )