I am trying to get the phtml file data in email template as well as passing variable from email template to phtml file as like below code. but am not getting the data from phtml file
In email template
{{block type='core/template' area='frontend' template='reorder/related_products.phtml' quick=$emailTemplateVariables.customer_name }}
In phtml file:
print_r($block->getData('quick'));
print_r($this->getQuick());
echo get_class($this->getQuick());
related_products.phtml
file is located inbase/template
? – Qaisar Satti Sep 20 '16 at 10:39