0

How to show order delivery date in new order confirmation email in magento2.1.7 plz someone guide me on this thanks in advance.. i have referred this link I want to add delivery date in order email template in Magento-2.1? but could not achieve my requirement

  • what issue you are getting in referred link ? – Pawan Oct 13 '18 at 5:37
  • im not getting any issues.. – Amy Oct 13 '18 at 6:27
  • in question you mention that you refereed a link and not achieve goal ! – Pawan Oct 13 '18 at 6:29
0

This is how i achieved my requirement..now its working fine.. The path to apply this code is vendor/magento/module-sales/view/frontend/email/order_new.html for registered user and for guest user the path is vendor/magento/module-sales/view/frontend/email/order_new_guest.html

    <td class="method-info">
                     {{depend shipping_arrival_date}}
                        <h3>{{trans "Order Delivery Date"}}</h3>
                        <p>{{var shipping_arrival_date}}</p>
                    {{/depend}}

                </td>
                {{depend order.getIsNotVirtual()}}

    </tr>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.