
if($_SESSION['externalOffer']){
echo'<div id="session_id">';


$tvText = $modx->getTemplateVar('sessionSubNavText', "",$_SESSION['externalOffer']);

echo $tvText['value'];

$docID = $modx->documentObject['id'];

if($_SESSION['externalOffer'] == $docID){
echo'<br />For this special offering, please make your purchase from the items on this page.';
}
else
{
echo' <br />For this special offering, please <a href="[~'.$_SESSION['externalOffer'].'~]" />click here to make your purchase</a>.';
}


echo'<br />
 
</div>';


}
