Home › Forums › WoodMart support forum › Custom template page for ‘form-checkout’ › Reply To: Custom template page for ‘form-checkout’
October 9, 2024 at 11:29 am
#603650
chefnelone
Participant
For your information:
I just need to modify this line in the file:
Just in case I can do this in the Woodmart Layout itself.
// If checkout registration is disabled and not logged in, the user cannot checkout.
if ( ! $checkout->is_registration_enabled() && $checkout->is_registration_required() && ! is_user_logged_in() ) {
echo esc_html( apply_filters( 'woocommerce_checkout_must_be_logged_in_message', __( 'You must be logged in to checkout.', 'woocommerce' ) ) );
return;
}