title: Opencart Get Category URL based from Category ID
body: <p>I'm working with a template in opencart where I am manually creating the links.</p>
  
  <p>The category links on the storefront are subject to change to SEO friendly urls, so I dont want to be copying the urls that look like this <code>index.php?route=product/category&amp;path=100</code> if I'm going to have to go back and change it later.</p>
  
  <p>I was wondering if there is some PHP code that I could use to somehow create a link based off of the category ID.</p>
  
  <p>Lets say if my category id is <code>152</code></p>
  
  <p>I want to be able to use PHP in my <code>&lt;a href"#"&gt;</code> to say something like this:</p>
  
  <p><code>&lt;a href="&lt;?php get link for category '152' ?&gt;"&gt;</code></p>
  
  <p>ofcourse I know that isnt the code. But does anyone know a solution? Thanks</p>