Is it possible to allow a certain woocommerce coupon only on backorders?
I've tried to use If WooCommerce Cart items are on backorder do not apply coupon answer code that restricts backordered products from using any coupons.
I have changed if( $stock_info < 1 ){
to if( $stock_info > 0 ){
instead
But then I can only use coupons on backorders… but where do I make this work on a certain coupon?
May I use its ID? but where?