Repository › Forums › Support › WooCommerce Extended Coupon Features PRO › cheapest_product / every_nth_item query › Reply To: cheapest_product / every_nth_item query
July 12, 2017 at 1:59 am
#1641
Jonathan Moore
Participant
hmmm that gives PHP Parse error: syntax error, unexpected ‘->’ (T_OBJECT_OPERATOR)
Probably it should be:
if ( $wrap_coupon->is_type( WJECF_WC()->wc_get_cart_coupon_types() ) ) {
that seems to work well.