*

kriskoyk

  • *****
  • 389 posts
Turn off syncing business profile
« on: December 06, 2025, 10:19:27 AM »
I turned off syncing  business profile creation on two sites, but it's not working. That is, when I create a business profile on one site, a business profile is automatically created on the second site. How can I fix this?

*

MB Themes

Re: Turn off syncing business profile
« Reply #1 on: December 08, 2025, 03:06:59 PM »
It's worth to start by mentioning what plugin you use.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

kriskoyk

  • *****
  • 389 posts
Re: Turn off syncing business profile
« Reply #2 on: December 08, 2025, 03:10:27 PM »
Account Synchronization Plugin. I don't think there is another plugin for synchronization.
« Last Edit: December 08, 2025, 03:14:03 PM by kriskoyk »

*

MB Themes

Re: Turn off syncing business profile
« Reply #3 on: December 08, 2025, 07:29:06 PM »
Try to find this block in functions.php
Code: [Select]
  $business_profile = asc_prepare_user_business_profile($id, $user);
 
  if(!empty($business_profile) && isset($business_profile['fk_i_user_id'])) {
    $model->updateUserBusinessProfile($business_profile);
   
    $error_code = $model->dao->getErrorLevel();
    $error_desc = $model->dao->getErrorDesc();
   
    if($error_code != '' && $error_code != 0) {
      $errors[] = __('Business profile update', 'account_sync') . ' - ' . $error_code . ': ' . $error_desc;
    }
  }

and wrap it into:
Code: [Select]
  if(in_array('user_business_profile', $columns)) {

...

}

  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

kriskoyk

  • *****
  • 389 posts
Re: Turn off syncing business profile
« Reply #4 on: December 09, 2025, 04:19:40 PM »
Dhe Topic  Solved! Thanks

*

MB Themes

Re: Turn off syncing business profile
« Reply #5 on: December 11, 2025, 10:02:16 PM »
Thanks  ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots