Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update progress bar data when update all payment and address given properly and validation #1984

Merged
10 changes: 6 additions & 4 deletions assets/src/less/setup.less
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,6 @@
.dokan-form-group {
height: 70px !important;

input[name="settings[bank][routing_number]"], input[name="settings[bank][ac_number]"] {
width: 48% !important;
}

textarea[name="settings[bank][bank_addr]"] {
height: 45px !important;
border-radius: 4px !important;
Expand Down Expand Up @@ -354,3 +350,9 @@
}
}
}

span {
&.required {
color: #e2401c;
}
}
3 changes: 1 addition & 2 deletions includes/Registration.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,8 @@ public function save_vendor_info( $user_id, $data ) {
// Intially add values on profile completion progress bar
$dokan_settings['profile_completion']['store_name'] = 10;
$dokan_settings['profile_completion']['phone'] = 10;
$dokan_settings['profile_completion']['address'] = 10;
$dokan_settings['profile_completion']['next_todo'] = 'banner_val';
$dokan_settings['profile_completion']['progress'] = 30;
$dokan_settings['profile_completion']['progress'] = 20;
$dokan_settings['profile_completion']['progress_vals'] = [
'banner_val' => 15,
'profile_picture_val' => 15,
Expand Down
Loading