Tweak wording
This commit is contained in:
parent
9558c49e72
commit
bb2e506a2b
|
@ -56,5 +56,5 @@ if ( $available_gateways = WC()->payment_gateways->get_available_payment_gateway
|
|||
</div>
|
||||
</form>
|
||||
<?php else : ?>
|
||||
<p class="woocommerce-notice woocommerce-notice--info woocommerce-info"><?php esc_html_e( 'Sorry, it seems that there are no payment methods which support adding a new payment method. Please contact us if you require assistance or wish to make alternate arrangements.', 'woocommerce' ); ?></p>
|
||||
<p class="woocommerce-notice woocommerce-notice--info woocommerce-info"><?php esc_html_e( 'New payment methods can only be added during checkout. Please contact us if you require assistance.', 'woocommerce' ); ?></p>
|
||||
<?php endif; ?>
|
||||
|
|
|
@ -78,6 +78,4 @@ do_action( 'woocommerce_before_account_payment_methods', $has_methods ); ?>
|
|||
|
||||
<?php if ( WC()->payment_gateways->get_available_payment_gateways() ) : ?>
|
||||
<a class="button" href="<?php echo esc_url( wc_get_endpoint_url( 'add-payment-method' ) ); ?>"><?php esc_html_e( 'Add payment method', 'woocommerce' ); ?></a>
|
||||
<?php else : ?>
|
||||
<p class="woocommerce-Message woocommerce-Message--info woocommerce-info"><?php esc_html_e( 'New payment methods cannot be added from the My Account page.', 'woocommerce' ); ?></p>
|
||||
<?php endif; ?>
|
||||
|
|
Loading…
Reference in New Issue