I would like to add a "Gift Card Redeemed" field to the printed receipt and the emailed receipts. I see that this field shows on the Order Details page within the transaction in the order summary. I've tried adding this detail after the DISCOUNT line in the ec_account_print_receipt.php and the ec_cart_email_receipt.php but cannot seem to pull in this detail. What is needed in place of <?php echo $giftcard_id; ?>
Best try:
<?php if( $order->giftcard_id != ""){ ?>
<tr>
<td> </td>
<td align='center' class='style22'> </td>
<td align='center' class='style22'>Gift Card Redeemed</td>
<td align='center' class='style22'><?php echo $giftcard_id; ?></td>
</tr>
<?php } ?>
Best try:
<?php if( $order->giftcard_id != ""){ ?>
<tr>
<td> </td>
<td align='center' class='style22'> </td>
<td align='center' class='style22'>Gift Card Redeemed</td>
<td align='center' class='style22'><?php echo $giftcard_id; ?></td>
</tr>
<?php } ?>