This is the part that's building attributes:
Code:
if (isset($order->products[$i]['attributes'])) {
for ($j=0, $m=sizeof($order->products[$i]['attributes']); $j<$m; $j++) {
$myorder["items"][$num_line_items]['options' . $j]['name'] = $order->products[$i]['attributes'][$j]['option'];
$myorder["items"][$num_line_items]['options' . $j]['value'] = $order->products[$i]['attributes'][$j]['value'];
}
}
If you put /* and */ around that block of code, it should stop sending any attrib details.
You mentioned that you tried that and got a blank page ... which suggests that you caused some sort of other problem in the file by doing so. Are you sure you didn't leave any blank lines at the end of the file?
Try step 2a from this article to help find the bug causing your blank page: https://www.zen-cart.com/tutorials/index.php?article=82