Hi,
Does zencart have variables that can be used to sniff out when SSL is being used to display a page? I want to use third party javascript for website tracking (think Google Analytics) but using the code triggers error messages about secure/insecure page elements.
I'm thinking something like this from one of the zencart help pages:
<?php if (DEFINE_CONTACT_US_STATUS <= 1) { ?>
<li><?php echo '<a href="' . zen_href_link(FILENAME_CONTACT_US, '', 'SSL') . '">' . BOX_INFORMATION_CONTACT . '</a>'; ?></li>
<?php } ?>
Except instead of DEFINE_CONTACT_US_STATUS the variable would track whether the page was secure or not.
Any help would be appreciated. Thanks!
Tim
Bookmarks