The array in the ORIGINAL file looks like this:

PHP Code:
//  echo  $currencies->rateAdjusted($tmp);
  
$productArray[$i] = array('attributeHiddenField'=>$attributeHiddenField,
                            
'flagStockCheck'=>$flagStockCheck,
                            
'flagShowFixedQuantity'=>$showFixedQuantity,
                            
'linkProductsImage'=>$linkProductsImage,
                            
'linkProductsName'=>$linkProductsName,
                            
'productsImage'=>$productsImage,
                            
'productsName'=>$productsName,
                            
'showFixedQuantity'=>$showFixedQuantity,
                            
'showFixedQuantityAmount'=>$showFixedQuantityAmount,
                            
'showMinUnits'=>$showMinUnits,
                            
'quantityField'=>$quantityField,
                            
'buttonUpdate'=>$buttonUpdate,
                            
'productsPrice'=>$productsPriceTotal,
                            
'productsPriceEach'=>$productsPriceEach,
                            
'rowClass'=>$rowClass,
                            
'buttonDelete'=>$buttonDelete,
                            
'checkBoxDelete'=>$checkBoxDelete,
                            
'id'=>$products[$i]['id'],
                            
'attributes'=>$attrArray);
// end FOR loop 
Just ADD the element to the existing list: (see second listing in the code below...)

PHP Code:
//  echo  $currencies->rateAdjusted($tmp);
  
$productArray[$i] = array('attributeHiddenField'=>$attributeHiddenField,
                            
'stockAvailable'=>$stockAvailable,
                            
'flagStockCheck'=>$flagStockCheck,
                            
'flagShowFixedQuantity'=>$showFixedQuantity,
                            
'linkProductsImage'=>$linkProductsImage,
                            
'linkProductsName'=>$linkProductsName,
                            
'productsImage'=>$productsImage,
                            
'productsName'=>$productsName,
                            
'showFixedQuantity'=>$showFixedQuantity,
                            
'showFixedQuantityAmount'=>$showFixedQuantityAmount,
                            
'showMinUnits'=>$showMinUnits,
                            
'quantityField'=>$quantityField,
                            
'buttonUpdate'=>$buttonUpdate,
                            
'productsPrice'=>$productsPriceTotal,
                            
'productsPriceEach'=>$productsPriceEach,
                            
'rowClass'=>$rowClass,
                            
'buttonDelete'=>$buttonDelete,
                            
'checkBoxDelete'=>$checkBoxDelete,
                            
'id'=>$products[$i]['id'],
                            
'attributes'=>$attrArray);
// end FOR loop