Layout handle in email_template.phtml

{{layout handle="email_product_list" order=$order product=$product check=$check area="frontend"}}

I need to know how can i get the value of $check variable in phtml file.


I didn't test yet but that is same as magento1. try to get it by.



  • 1
    ok let me check @Quaisar. – Ramkishan Suthar Sep 23 '16 at 5:39
  • King__Satti , good job..... – Baby in Magento Sep 23 '16 at 7:02
  • 1
    @BabyinMagento thanks for appreciating my work. you words mean lot to me – Qaisar Satti Sep 23 '16 at 7:24
  • Sorry @QaisarSatti – Ramkishan Suthar Sep 23 '16 at 9:03
  • @QaisarSatti, I am getting NULL when iuse $this->getCheck(); in my phtml file. Please help. – Flying Finner Apr 25 at 8:54

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.