Hi Robert,
I have in my shop "The Feedmachine Solution" http://addons.oscommerce.com/info/7129 installed. Works very well but only for the defaul language in other languages the product link is generated not only on default language:
http://www.test.deuton.de/gilda-tonelli-sumka-0967-borsa-crotalo-azzurro-p-55.html
but it must be like this:
http://www.test.deuton.de/de/gilda-tonelli-tasche-0967-borsa-crotalo-azzurro-p-55.html
Here is a section of the source code of feedmachine.php:
$catalog_path = defined('FM_CATALOG_DIRECTORY') ? FM_CATALOG_DIRECTORY : '../'; chdir($catalog_path); $catalog_path = getcwd() . '/'; require_once('includes/application_top.php'); tep_session_destroy(); require_once($installation_path . 'feedmachine_loader.php');}require_once($installation_path . 'feedmachine_loadingbay.php');if( isset($_SERVER['HTTP_HOST']) ) echo '<pre>';echo 'catalog path: ' . $catalog_path . "\n\n";function field_generator($db_field_name) { global $product, $current_product_prices, $cur_feed, $currencies_info, $countries, $categories; switch( $db_field_name ) { case 'PRODUCTS_URL': $additional_params = array(); if( $cur_feed['currency_code'] != DEFAULT_CURRENCY ) $additional_params[] = 'currency=' . $cur_feed['currency_code']; if( $cur_feed['language_code'] != DEFAULT_LANGUAGE ) $additional_params[] = 'language=' . $cur_feed['language_code']; if( !empty($cur_feed['url_parameters']) ) $additional_params[] = $cur_feed['url_parameters']; $additional_params_string = !empty($additional_params) ? '&' . implode('&', $additional_params) : ''; $output_field_value = tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $product['products_id'] . $additional_params_string, 'NONSSL', false);
As you can see, users are application_top.php and tep_href_link (). The variable $ language_id $ languages and I have tried to define $ language_id = '3 'and $ languages =' German ', but that did not help.
Is it possible to predefine not default language for USU5 to generate the link to other language?
Thanks in advance