__( 'All Coupons', 'woocommerce-jetpack' ), 'type' => 'title', 'id' => 'wcj_coupon_by_user_role_all_coupons_options', ), array( 'title' => __( 'Disable All Coupons for Selected User Roles', 'woocommerce-jetpack' ), 'desc_tip' => __( 'This will disable all coupons for selected user roles. Coupons will be disabled completely, including coupon code input on the cart page.', 'woocommerce-jetpack' ), 'type' => 'multiselect', 'class' => 'chosen_select', 'default' => '', 'id' => 'wcj_coupon_by_user_role_disabled', 'options' => wcj_get_user_roles_options(), ), array( 'title' => __( 'Invalidate All Coupons for Selected User Roles', 'woocommerce-jetpack' ), 'desc_tip' => __( 'This will invalidate all coupons for selected user roles. Coupon code input will still be available on the cart page.', 'woocommerce-jetpack' ), 'type' => 'multiselect', 'class' => 'chosen_select', 'default' => '', 'id' => 'wcj_coupon_by_user_role_invalid', 'options' => wcj_get_user_roles_options(), ), array( 'type' => 'sectionend', 'id' => 'wcj_coupon_by_user_role_all_coupons_options', ), array( 'title' => __( 'Per Coupon', 'woocommerce-jetpack' ), 'type' => 'title', 'id' => 'wcj_coupon_by_user_role_per_coupon_options', ), array( 'title' => __( 'Invalidate per Coupon', 'woocommerce-jetpack' ), 'desc' => __( 'Enable', 'woocommerce-jetpack' ), 'desc_tip' => __( 'This will add "Booster: Coupon by User Role" meta box to each coupon\'s admin edit page.', 'woocommerce-jetpack' ) . '
' . apply_filters( 'booster_message', '', 'desc' ), 'type' => 'checkbox', 'default' => 'no', 'id' => 'wcj_coupon_by_user_role_invalid_per_coupon', 'custom_attributes' => apply_filters( 'booster_message', '', 'disabled' ), ), array( 'type' => 'sectionend', 'id' => 'wcj_coupon_by_user_role_per_coupon_options', ), array( 'title' => __( 'Message', 'woocommerce-jetpack' ), 'type' => 'title', 'id' => 'wcj_coupon_by_user_role_messages_options', ), array( 'title' => __( '"Coupon is not valid" Message', 'woocommerce-jetpack' ), 'desc_tip' => __( 'Message that will be displayed for invalid coupons by user role.', 'woocommerce-jetpack' ), 'type' => 'custom_textarea', 'default' => __( 'Coupon is not valid for your user role.', 'woocommerce-jetpack' ), 'id' => 'wcj_coupon_by_user_role_invalid_message', 'css' => 'width:100%;', 'desc' => apply_filters( 'booster_message', '', 'desc' ), 'custom_attributes' => apply_filters( 'booster_message', '', 'readonly' ), ), array( 'type' => 'sectionend', 'id' => 'wcj_coupon_by_user_role_messages_options', ), );