
Originally Posted by
chadderuski
You can fix this by editing your admin/includes/functions/extrafunctions/googlefroogle.php
Add this:
Code:
if (!function_exists('google_cfg_pull_down_country_list')){
function google_cfg_pull_down_country_list($countries_id, $key = '') {
global $db;
$name = (($key) ? 'configuration[' . $key . ']' : 'configuration_value');
$countries = $db->execute("select countries_id, countries_iso_code_3 from " . TABLE_COUNTRIES);
$countries_array = array();
while (!$countries->EOF) {
$countries_array[] = array('id' => $countries->fields['countries_id'],
'text' => $countries->fields['countries_iso_code_3']);
$countries->MoveNext();
}
return zen_draw_pull_down_menu($name, $countries_array, $countries_id);
}
}
Which this mode was capable of auto mapping ISO-8859-1 to UTF-8! And also listing all product that were simply skipped. Would make finding issues with the cleaner easier.
Mine had this, this is what is there -
Code:
if (!function_exists('google_cfg_pull_down_currencies')){
function google_cfg_pull_down_currencies($currencies_id, $key = '') {
global $db;
$name = (($key) ? 'configuration[' . $key . ']' : 'configuration_value');
$currencies = $db->execute("select code from " . TABLE_CURRENCIES);
$currencies_array = array();
while (!$currencies->EOF) {
$currencies_array[] = array('id' => $currencies->fields['code'],
'text' => $currencies->fields['code']);
$currencies->MoveNext();
}
return zen_draw_pull_down_menu($name, $currencies_array, $currencies_id);
}
}
if (!function_exists('google_cfg_pull_down_country_iso3_list')){
function google_cfg_pull_down_country_iso3_list($countries_id, $key = '') {
global $db;
$name = (($key) ? 'configuration[' . $key . ']' : 'configuration_value');
$countries = $db->execute("select countries_id, countries_iso_code_3 from " . TABLE_COUNTRIES);
$countries_array = array();
while (!$countries->EOF) {
$countries_array[] = array('id' => $countries->fields['countries_id'],
'text' => $countries->fields['countries_iso_code_3']);
$countries->MoveNext();
}
return zen_draw_pull_down_menu($name, $countries_array, $countries_id);
}
}
if (!function_exists('google_cfg_pull_down_languages_list')){
function google_cfg_pull_down_languages_list($languages_id, $key = '') {
global $db;
$name = (($key) ? 'configuration[' . $key . ']' : 'configuration_value');
$languages = $db->execute("select code, name, languages_id from " . TABLE_LANGUAGES);
$languages_array = array();
while (!$languages->EOF) {
$languages_array[] = array('id' => $languages->fields['languages_id'],
'text' => $languages->fields['name']);
$languages->MoveNext();
}
return zen_draw_pull_down_menu($name, $languages_array, $languages_id);
}
}
I had over 1400 items and the next day 3 items after upgrading to 1.10.1
Dan
Bookmarks