Like this:

1× Foo Kit2x Bar Product#1

My PHPfu is low, but I'm looking at the area where the array gets loaded for display (I think) just not sure what I'm looking at/for.

Comments

mr_byte’s picture

I added the "<br>" . below, if there's a better way, please tell me.

function theme_pkitdisplay($element) {  
  $output = '';  
  foreach ($element['#data'] as $kit_component) {
    if ($element['#kit_type'] == UC_PRODUCT_KIT_UNMUTABLE_WITH_LIST) {
      $output .="<br>". $kit_component['qty'] . 'x ' . $kit_component['title'] . $kit_component['desc'];  
    }
  } 
  
  return $output;
}
mr_byte’s picture

Status: Active » Needs review
mesch’s picture

Category: bug » task
Priority: Major » Minor
Status: Needs review » Postponed

Quite right re: the bug. Instead of changing it here, you can always override the theme function in your theme's template.php file. For that reason, I am switching the priority to minor. If/when I look at this code again, I will look to implement a fix.