title: Opencart: How to include a script on certain pages?
body: <p>I'd like to include a script to detect <code>$_GET</code> values on certain pages of the site. If I use the script in <code>header.tpl</code>, it will add the script on all pages. If I use it as a template file and display it as <code>Layout</code> in the Extensions > Modules, it gets added to all the pages within that Layout. Is there a way to include this only on certain selected pages? I'm sure this will have to done programatically. Just wanted to find out if there is an elegant way to do this.</p>