Merge pull request #5614 from mkayan-wakefly/master
RE issue: #5613 - Typo in error message
This commit is contained in:
commit
09c4e1c07a
|
@ -581,8 +581,8 @@ class WC_Checkout {
|
|||
|
||||
if ( WC()->cart->needs_shipping() ) {
|
||||
|
||||
if ( ! in_array( WC()->customer->get_shipping_country(), array_keys( WC()->countries->get_shipping_countries() ) ) )
|
||||
wc_add_notice( sprintf( __( 'Unfortunately <strong>we do not ship to %s</strong>. Please enter an alternative shipping address.', 'woocommerce' ), WC()->countries->shipping_to_prefix() . ' ' . WC()->customer->get_shipping_country() ), 'error' );
|
||||
if ( ! in_array( WC()->customer->get_shipping_country(), array_keys( WC()->countries->get_shipping_countries() ) ) )
|
||||
wc_add_notice( sprintf( __( 'Unfortunately <strong>we do not ship %s</strong>. Please enter an alternative shipping address.', 'woocommerce' ), WC()->countries->shipping_to_prefix() . ' ' . WC()->customer->get_shipping_country() ), 'error' );
|
||||
|
||||
// Validate Shipping Methods
|
||||
$packages = WC()->shipping->get_packages();
|
||||
|
|
Loading…
Reference in New Issue