• Resolved hurab

    (@hurab)


    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 grateful

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    You’re going to need some pretty extensive customization to run what is essentially 2 shops in the same site, so I would highly recommend you get a developer that can help you with this project. We highly recommend contacting one of the services on our Customizations page (https://woocommerce.com/customizations/)

Viewing 1 replies (of 1 total)
  • The topic ‘Hi i want to make two logins for my east and west customer’ is closed to new replies.