I want Reward Redeemed and and Earned Points in order_new.html Email template page in Total section and E Gift Card Reedemed Data also required. For that I Overide this file in my theme:
/var/www/html/aldo/app/design/frontend/vendor/theme/Magento_Sales/email/order_new.html
/var/www/html/magento/app/design/frontend/<vendor>/<theme>/Magento_Sales/templates/order/totals.phtml.
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
/**
* @var $block \Magento\Sales\Block\Order\Totals
* @see \Magento\Sales\Block\Order\Totals
*/
$_totals = $block->getTotals();
$_order = $block->getOrder();
$demoData = "";
?>
<table align="right" cellspacing="0" cellpadding="0" border="0" width="300px" style="border:1px solid #EAEAEA;">
<tr>
<th align="right"><?= /* @escapeNotVerified */ __('Promo Discount') ?></th>
<td> <?= /* @escapeNotVerified */ $_order->getBaseDiscountAmount() ?></td>
</tr>
<tr>
<th align="right"><?= /* @escapeNotVerified */ __('Shipping') ?></th>
<td><?= /* @escapeNotVerified */ $_order->getShippingAmount() ?></td>
</tr>
<tr>
<th align="right"><?= /* @escapeNotVerified */ __('Subtotal') ?></th>
<td> <?= /* @escapeNotVerified */ $_order->getSubtotal() ?></td>
</tr>s
<tr>
<th align="right"><?= /* @escapeNotVerified */ __('GST incl') ?></th>
<td> <?= /* @escapeNotVerified */ $_order->getTaxAmount() ?></td>
</tr>
<tr>
<th align="right"><?= /* @escapeNotVerified */ __('e-Gift Card Redeemed') ?></th>
<td> <?= /* @escapeNotVerified */ $demoData ?></td>
</tr>
<tr>
<th align="right"><?= /* @escapeNotVerified */ __('Points Earned') ?></th>
<td><?= /* @escapeNotVerified */ $demoData ?></td>
</tr>
<tr>
<th align="right"><?= /* @escapeNotVerified */ __('Points Redeemed') ?></th>
<td> <?= /* @escapeNotVerified */ $demoData ?></td>
</tr>
<tr>
<th align="right"><?= /* @escapeNotVerified */ __('Total') ?></th>
<td><?= /* @escapeNotVerified */ $_order->getGrandTotal() ?></td>
</tr>
</table>