For some reason, I've not been successful on showing the Order Items on Oder transnational email. I have used the suggested line of coding below:

{{/if}} {{layout handle="sales_email_order_items" order=$order}} {{depend order.getIsNotVirtual()}} {{/depend}} {{depend order.getIsNotVirtual()}} {{/depend}}

And some variations of it. Rest of the email is working good. Anyone knows what is going on?

Many thanks all!

  • You should have just {{layout handle="sales_email_order_items" order=$order}}. Without any if conditions. Jul 10, 2018 at 2:48
  • Adarsh, I have also tried without the conditions as suggested without success. It is may be a matter of formatting or other detail I am forgetting. Any other advice? Jul 10, 2018 at 12:45
  • Are you able to confirm your template is getting called! Jul 10, 2018 at 13:27
  • yes. it is. other changes are positively appearing... Only Order Items aren't displayed :( ... all other variables I want I was able to add Jul 10, 2018 at 16:50


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.