get_discount_type(), array( 'fixed_cart', 'fixed_product' ) ) ) {
add_meta_box(
'alg-wc-currency-switcher-coupon-base-currency',
__( 'Coupon currency', 'currency-switcher-woocommerce' ),
array( $this, 'create_shop_coupon_base_currency_meta_box' ),
'shop_coupon',
'side',
'default'
);
}
}
/**
* create_shop_coupon_base_currency_meta_box.
*
* @version 2.8.0
* @since 2.8.0
*/
function create_shop_coupon_base_currency_meta_box() {
$post_id = get_the_ID();
$value = get_post_meta( $post_id, '_' . 'alg_wc_currency_switcher_coupon_base_currency', true );
$html = '';
$html .= '';
$html .= '';
echo $html;
}
}
endif;
return new Alg_WC_Currency_Switcher_Coupons_Settings();