Issue 1950
This commit is contained in:
parent
c41d96dba1
commit
20bfaea36c
|
@ -13,7 +13,7 @@ global $woocommerce;
|
|||
|
||||
$woocommerce->show_messages();
|
||||
|
||||
do_action( 'woocommerce_before_checkout_form' );
|
||||
do_action( 'woocommerce_before_checkout_form', $checkout );
|
||||
|
||||
// If checkout registration is disabled and not logged in, the user cannot checkout
|
||||
if ( ! $checkout->enable_signup && ! $checkout->enable_guest_checkout && ! is_user_logged_in() ) {
|
||||
|
@ -56,4 +56,4 @@ $get_checkout_url = apply_filters( 'woocommerce_get_checkout_url', $woocommerce-
|
|||
|
||||
</form>
|
||||
|
||||
<?php do_action( 'woocommerce_after_checkout_form' ); ?>
|
||||
<?php do_action( 'woocommerce_after_checkout_form', $checkout ); ?>
|
Loading…
Reference in New Issue