Hi i want to make two logins for my east and west customer
-
Hi i want to create two logins for my east and west customers i have use the code to enter the zone in the form could you please guide how can i link them if they enter east to east product and if they enter west then to west product
below is the css i used
function woocommerce_edit_my_account_page() {
return apply_filters( ‘woocommerce_forms_field’, array(
‘woocommerce_my_account_page’ => array(
‘type’ => ‘text’,
‘label’ => __( ‘Zone’),
‘placeholder’ => __( ‘East / West’),
‘required’ => true,
),
) );
}
function edit_my_account_page_woocommerce() {
$fields = woocommerce_edit_my_account_page();
foreach ( $fields as $key => $field_args ) {
woocommerce_form_field( $key, $field_args );
}
}
add_action( ‘woocommerce_register_form’, ‘edit_my_account_page_woocommerce’, 15 );
add_action( ‘woocommerce_login_form’, ‘edit_my_account_page_woocommerce’, 15 );
i will be gratefulThe page I need help with: [log in to see the link]
- The topic ‘Hi i want to make two logins for my east and west customer’ is closed to new replies.