In catalogue.class.php, near lines 567-578 (CC653), the source $value array contains 'option_weight' but is not included when building the $option_list[$value['option_id']]['values'][] array.
Request that the 'option_weight' data item be included here and also in the building of $option_list[$option[0]['option_id']] at line 607.
One possible solution would be to array_merge finessed elements of $value onto the complete $value array, then append the enhanced $value to the $option_list[$value['option_id']]['values'][] array. This allows for the possibility of data items contained in custom table columns (even though there is a hook available at the end).
In catalogue.class.php, near lines 567-578 (CC653), the source
$value
array contains 'option_weight' but is not included when building the$option_list[$value['option_id']]['values'][]
array.Request that the 'option_weight' data item be included here and also in the building of
$option_list[$option[0]['option_id']]
at line 607.One possible solution would be to
array_merge
finessed elements of$value
onto the complete$value
array, then append the enhanced$value
to the$option_list[$value['option_id']]['values'][]
array. This allows for the possibility of data items contained in custom table columns (even though there is a hook available at the end).