Announcement

Collapse
No announcement yet.

giftcard_id on Printed and Email Receipt

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • giftcard_id on Printed and Email Receipt

    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>&nbsp;</td>

    <td align='center' class='style22'>&nbsp;</td>

    <td align='center' class='style22'>Gift Card Redeemed</td>

    <td align='center' class='style22'><?php echo $giftcard_id; ?></td>

    </tr>
    <?php } ?>
Working...
X