Hi all,
i've deleted all the 'basic products' and 'prodcuts with a range of options' etc from my catalogue, but for some reason in the brochure index page the menu still shows them instead of my current product menu...
In the act_brochureprimary.html i've used the following code...
and then used
<script language=Javascript1.2>
document.write(YahooSections(section_tree))
</script>
in my template to show it.. but instead of my current product list it still shows the old one..
anyone know why?
site at www.test.general-interest-dvd.co.uk
i've deleted all the 'basic products' and 'prodcuts with a range of options' etc from my catalogue, but for some reason in the brochure index page the menu still shows them instead of my current product menu...
In the act_brochureprimary.html i've used the following code...
PHP Code:
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
function YahooSections(ar)
{
var strIDs = '';
for (var i=1;i<=ar.length;i++)
{
if (ar[i].sURL != null)
{
strIDs += '<a href="' + ar[i].sURL + '"><span class="actxxsmall"><b><font color="NETQUOTEVAR:FGCOLORCSS">' + ar[i].sName + '</font></b></span></a><br>';
{
if (ar[i].pChild)
{
for (var j=1;j<=ar[i].pChild.length;j++)
{
if (ar[i].pChild[j].sURL != null)
{
strIDs += '<a href="' + ar[i].pChild[j].sURL + '"><span class="actxxsmall"><font color="NETQUOTEVAR:FGCOLORCSS">' + ar[i].pChild[j].sName + '</font></span></a><br>';
}
}
}
}
strIDs += '<br>'
}
}
return strIDs
}
//-->
</SCRIPT>
<script language=Javascript1.2>
document.write(YahooSections(section_tree))
</script>
in my template to show it.. but instead of my current product list it still shows the old one..
anyone know why?
site at www.test.general-interest-dvd.co.uk
Comment