think I have fixed it, though if someone can check the change I have made and let me know if there is any reason this will casue any problems.
In /includes/modules/payment/paypal/paypal_functions.php
I found this code:
PHP Code:
// if there are attributes, loop thru them and add to description
if (isset($order->products[$i]['attributes']) && sizeof($order->products[$i]['attributes']) > 0 ) {
$optionsLI["item_name_$k"] = '';
for ($j=0, $n2=sizeof($order->products[$i]['attributes']); $j<$n2; $j++) {
$optionsLI["item_name_$k"] .= "\n " . $order->products[$i]['attributes'][$j]['option'] .
': ' . $order->products[$i]['attributes'][$j]['value'];
} // end loop
} // endif attribute-info
notice how the $optionsLI["item_name_$k"] = ''; is blank and not redefined anywhere after?
so I changed to this:
PHP Code:
// if there are attributes, loop thru them and add to description
if (isset($order->products[$i]['attributes']) && sizeof($order->products[$i]['attributes']) > 0 ) {
// $optionsLI["item_name_$k"] = '';
$optionsLI["item_name_$k"] = $order->products[$i]['name'];
for ($j=0, $n2=sizeof($order->products[$i]['attributes']); $j<$n2; $j++) {
// $optionsLI["item_name_$k"] .= "\n " . $order->products[$i]['attributes'][$j]['option'] .
// ': ' . $order->products[$i]['attributes'][$j]['value'];
$optionsLI["item_name_$k"] .= ': ' . $order->products[$i]['attributes'][$j]['value'];
} // end loop
} // endif attribute-info
Look forward to hearing back, cheers
Phil