Hi I am trying to pass multi-dimension array to email template Magento 1.9
CODE FOR SENDING EMAIL
$emailVariables['appointment']=$appointmentArray; //it is appointment data array
$emailVariables['store_info']=$storeInfoArray; //it is store info array
$emailVariables['customer']=$appointmentCustomer; //it is customer info array
I have created this function for sending mail with Email Variables
$this->sendEmail($templateId,$sender,$email,$customer_name,$emailVariables);
CODE IN EMAIL TEMPLATE I AM USING
{{var customer.firstname}}
I tried this code for store info as well. like
{{var store_info.store_id}}
It is not showing any information/first name only it is showing Array