When updating or inserting rows the option_value_id is assumed by incrementation. This simple fix corrects this and reads the correct option_value_id from the database.
Updated file attached, or you can simply change the line given below.
Find the line (near 271):
------------------------------------------
while ($values = tep_db_fetch_array($values_query)) {
$rows ++;
------------------------------------------
Replace "$rows ++;" with the following:
------------------------------------------
$rows = $values[ "products_options_values_id" ];
------------------------------------------
More...





LinkBack URL
About LinkBacks









Bookmarks