title: Prestashop - make shortcode from view
body: <p>I made a plugin that renders code and hooks it inside product page. I want to make it more flexible and hook that view in specific places in product description.</p>
  
  <p>Is there a way to make it as shortcode, so I could put [blablabla] in product description and render it in a specific view? (<code>do_shortcode()</code> equivalent in Wordpress)</p>
  
  <p>So far, I render that by hooking it in the end of product description.</p>
  
  <pre><code>public function hookDisplayProductTab() {
      return $this-&gt;display(__FILE__, 'maps.tpl');
  }
  </code></pre>
  
  <p>The problem is that I don't know how make it work in an MVC environment. I just simply use the hooks in Prestashop to render code. I've no idea from where to start and what type of concept could be used.</p>