title: Opencart: sort products by their subcategory on the category page
body: <p>I am building a shop with opencart 1.5.5.1 (I'm new to it) and I ran into a little problem: </p>
  
  <p>Any of my main category pages looks like this:<br />
  <strong>Refine search:<br />
  <em>&nbsp;&nbsp;&nbsp;&nbsp;-Subcategory1<br />
  &nbsp;&nbsp;&nbsp;&nbsp;-Subcategory2<br />
  &nbsp;&nbsp;&nbsp;&nbsp;-Subcategory3<br /><br /></em>
  &nbsp;&nbsp;Product1&nbsp;&nbsp;Product2&nbsp;&nbsp;Product3&nbsp;&nbsp;...</strong></p>
  
  <p>Subcategory 1,2 and 3 being links to the subcategory pages.</p>
  
  <p>What i want my main category page to be like is:</p>
  
  <p><em><strong>Subcategory1<br /></em>
  Product1&nbsp;&nbsp;Product2&nbsp;&nbsp;Product3&nbsp;&nbsp;.......<br /><br />
  <em>Subcategory2</em><br />Product1&nbsp;&nbsp;Product2&nbsp;&nbsp;Product3&nbsp;&nbsp;.......<br /><br />
  <em>Subcategory3</em><br />
  Product1&nbsp;&nbsp;Product2&nbsp;&nbsp;Product3&nbsp;&nbsp;.......</strong></p>
  
  <p>Where Subcategory 1,2 and 3 are no longer links to the subcategory pages but simple text.</p>
  
  <p>I have found this extension: <a href="http://www.opencart.com/index.php?route=extension/extension/info&amp;token=b4381909f29ca2d2511830b09f09fa84&amp;extension_id=11190" rel="nofollow">http://www.opencart.com/index.php?route=extension/extension/info&amp;token=b4381909f29ca2d2511830b09f09fa84&amp;extension_id=11190</a> but maybe someone can help me without me having to pay 15$</p>
  
  <p>Can anyone help me please?</p>