title: Display a list of all attributes in opencart
body: <p>I want to display a list of all attributes that are added into database but every time I try something it doesn't work. I want to show this inside a div from the from the front page. I tried to insert this into featured.tpl:</p>
  
  <pre><code>&lt;?php 
  foreach ($attribute_groups as $attribute_group) {
  echo $attribute_group['name'];
  print_r($attribute_group);
  echo '&lt;select name="listaGrupe"&gt;';
  foreach ($attribute_groups['attribute'] as $attribute) {
  echo '&lt;option value="'.$attribute.'"&gt;'.$attribute.'&lt;/option&gt;';
  }
  echo '&lt;/select&gt;';
  }
  
  ?&gt;
  </code></pre>