I wanted to modify EasyPopulate v.1.2.5.4 for being able to make the synchronization of the products and i have found this function...

Code:
 function ep_remove_product($product_model) {
  global $db;
  global $ep_debug_logging;
  global $ep_debug_logging_all;
  global $ep_stack_sql_error;
  
  $sql = "select products_id
                           from " . TABLE_PRODUCTS . "
                           where products_model = '" . zen_db_input($product_model) . "'";
  $products = $db->Execute($sql);
  
 if (mysql_errno()) {
  $ep_stack_sql_error = true;
  if ($ep_debug_logging == true) {
   // langer - will add time & date..
   $string = "MySQL error ".mysql_errno().": ".mysql_error()."\nWhen executing:\n$sql\n";
   write_debug_log($string);
  }
 } elseif ($ep_debug_logging_all == true) {
  $string = "MySQL PASSED\nWhen executing:\n$sql\n";
  write_debug_log($string);
 }
  
  while (!$products->EOF) {
    zen_remove_product($products->fields['products_id']);
    $products->MoveNext();
  }
  return;
}
but...EasyPopulate can already make the synchronization??? If yes, how it is make???