Rareones01 Posted December 6, 2007 Posted December 6, 2007 Hello all, I've been lurking this forum for a few years now and have always found the answers to my questions (Awesome job all). Until now. This one has me floored. Here goes. I have a fresh install of OSC and have loaded the STS. What I would like to do is on the left colum, in catagories I would like to have the name of a merchant (say walmart). When the link Walmart is clicked in the catagories box, I would like the resulting page to show a datafeed featuring a goldencan GETdata script. Here is the script- <?php $SID="XXXXXXXXXXXXXXXXXXXXXXXX"; $IPAddress = urlencode($_SERVER['REMOTE_ADDR']); $UserAgent = urlencode($_SERVER['HTTP_USER_AGENT']); $PageURL = urlencode($_SERVER['SCRIPT_NAME'].'?'.$_SERVER['QUERY_STRING']); $URL = "http://si.goldencan.com/GetData.aspx?SID=".$SID; $URL = $URL.'&IPAddress='.$IPAddress; $URL = $URL.'&UserAgent='.$UserAgent; $URL = $URL.'&PageURL='.$PageURL; include($URL); ?> I would like to repeat this to include several stores. I know how to add the catagory but where can I put this script so that the datafeed will show? Thank You
Recommended Posts
Archived
This topic is now archived and is closed to further replies.