Hi,
Solved my issue with this bit of code.
foreach($_POST['row'] as $rows)
{
$row = array(
'field_59131578f9daf' => $rows['category'],
'field_59104ba3d8b5a' => $rows['product'],
);
add_row('field_59104b8fd8b59', $row, $post_id);
}
<input type="hidden" name="row[<?php echo $i; ?>][category]" value="<?php echo $term_id; ?>" />
<input type="radio" name="row[<?php echo $i; ?>][product]" value="<?php echo get_the_ID(); ?>" <?php if ( get_the_ID() == $product_id ) echo 'checked="checked"'; ?> ><?php the_title(); ?>