I would like to display different text in the order confirmation emails depending on the items customer purchased . For example, when customer bought Gift Cards, when I'd like to show some extra text like terms & condition in the confirmation emails. What's the best approach to this?


In the admin

Marketing > Communications > Email Templates

Add new email template and load Order confirmation email and then you can add whatever you want.

  • But I want to show the extra text only when certain Items is bought. I don't think this can be done via Email Templates or am I mistaken? – Magento Learner Jun 21 at 9:45
  • 1
    Okay, then you can override this file: /app/design/frontend/custom/theme/Magento_Sales/templates/email/items/order/default.phtml and put conditions based on you item. – Ravi Soni Jun 21 at 9:57

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.