Include JS in header.php

Permalink
in what format can i place this required foxycart js file into my header.php

<script src="https://YOURDOMAIN.foxycart.com/files/foxycart_includes.js" type="text/javascript" charset="utf-8"></script>

jincmd
 
jincmd replied on at Permalink Reply
jincmd
1.

$this->addHeaderItem('<script src="https://YOURDOMAIN.foxycart.com/files/foxycart_includes.js" type="text/javascript" charset="utf-8"></script>','CONTROLLER');


2.

$this->addHeaderItem('<script type="text/javascript" charset="utf-8" src="' . REL_DIR_FILES_TOOLS_REQUIRED . 'https://YOURDOMAIN.foxycart.com/files/foxycart_includes.js' . $c->getCollectionID() . '&amp;cvID=' . $cvID . '&amp;btask=' . $_REQUEST['btask'] . '&amp;ts=' . time() . '"></script>', 'CORE');


<?php BASE_URL
jincmd replied on at Permalink Reply
jincmd
i realize i dont even need a getthemepath for header.php... i just put

<script src="https://YOURDOMAIN.foxycart.com/files/foxycart_includes.js" type="text/javascript" charset="utf-8"></script>