Skip to main content
1 of 2
Sushivam
  • 2.6k
  • 3
  • 36
  • 88

iterate by using loops for template variables in magento

$quoteItems=array(); foreach($quotecollection as $value) {
$quoteItems[] = $value['name']; }. $vars['articledescription'] = $value['name'];. I have used the above code for email template. I want the product name to be iterated through loops , when there are multiple products ordered by customers. pls suggest with code

Sushivam
  • 2.6k
  • 3
  • 36
  • 88