Phone details on Registration page

This topic contains 1 reply and 2 voices, and was last updated by Nayem 9 years, 3 months ago
Viewing 1 Posts - 1 through 1 (of 1 total)
Author Posts
August 5, 2015 at 10:36 am 65349
Nayem 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
August 5, 2015 at 2:29 pm 65404
Nayem Nayem

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 1 Posts - 1 through 1 (of 1 total)