cubecart / v6

CubeCart Version 6
https://cubecart.com
71 stars 59 forks source link

More Info Requested #3556

Open bhsmither opened 2 months ago

bhsmither commented 2 months ago

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).