my-address conditional statement fix
Formatting for "if" statement; Per new Woo template files.
This commit is contained in:
parent
a2c4a4665c
commit
6d5ae3976e
|
@ -41,7 +41,9 @@ $col = 1;
|
||||||
<?php echo apply_filters( 'woocommerce_my_account_my_address_description', __( 'The following addresses will be used on the checkout page by default.', 'understrap' ) ); ?>
|
<?php echo apply_filters( 'woocommerce_my_account_my_address_description', __( 'The following addresses will be used on the checkout page by default.', 'understrap' ) ); ?>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<?php if ( ! wc_ship_to_billing_address_only() && wc_shipping_enabled() ) echo '<div class="u-columns woocommerce-Addresses col2-set addresses">'; ?>
|
<?php if ( ! wc_ship_to_billing_address_only() && wc_shipping_enabled() ) : ?>
|
||||||
|
<div class="u-columns woocommerce-Addresses col2-set addresses">
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php foreach ( $get_addresses as $name => $title ) : ?>
|
<?php foreach ( $get_addresses as $name => $title ) : ?>
|
||||||
|
|
||||||
|
|
Reference in New Issue