So i have tracked down the code to
/includes/clases/class.CeonUriMappingHandler.php around line 375
PHP Code:
} else if (!is_null($query_string_parameters)) {
// Page is a Zen Cart page with preset parameters, must initialise the parameters
$query_string_pairs = explode('&', $query_string_parameters);
foreach ($query_string_pairs as $query_string_pair) {
$parameter_parts = explode('=', $query_string_pair);
// Parameter from database overrides any in query string
if (count($parameter_parts) == 2) {
$_GET[$parameter_parts[0]] = urldecode($parameter_parts[1]);
}
}
}
and I think i should do something like this
PHP Code:
$query_string_to_match = str_replace('?sort=20a&' , '/'$parameter_parts[1], $query_string_to_match);
and add it somewhere but not sure where exactly.
I will update on success...
Bookmarks