Home Forums Theme Support Dokan Phone details on Registration page

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  Nayem 3 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #65349

    jacky wong
    Member
    Post count: 100

    Hi,

    1. Is it possible to set the phone detail on registration page as ‘optional' rather than ‘required'?

    2. When phone details is not entered, it shows this message ‘This field is required from localization', can you advise the file location to change this message?

    Regards
    Jacky

    #65404

    Nayem
    Moderator
    Post count: 6480

    Please open Dokan plgin folder/templates/global/seller-registration-form.php file. In this file you will get this code-

    <p class="form-row form-group form-row-wide">
            <label for="shop-phone"><?php _e( 'Phone', 'dokan' ); ?><span class="required">*</span></label>
            <input type="text" class="input-text form-control" name="phone" id="shop-phone" value="<?php if ( ! empty( $postdata['phone'] ) ) echo esc_attr($postdata['phone']); ?>" required="required" />
    </p>

    Just change the required class to non-required.

    Thanks.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Phone details on Registration page’ is closed to new replies.