<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>ProductCart Shopping Cart Software Forums : Unique menu for each category</title>
  <link>https://forum.productcart.com/</link>
  <description><![CDATA[This is an XML content feed of; ProductCart Shopping Cart Software Forums : Customizing ProductCart : Unique menu for each category]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 12 Apr 2026 12:10:45 +0000</pubDate>
  <lastBuildDate>Tue, 13 May 2008 17:42:32 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forum.productcart.com/RSS_post_feed.asp?TID=1612</WebWizForums:feedURL>
  <image>
   <title><![CDATA[ProductCart Shopping Cart Software Forums]]></title>
   <url>https://forum.productcart.com/forum_images/pc_logo_50.png</url>
   <link>https://forum.productcart.com/</link>
  </image>
  <item>
   <title><![CDATA[Unique menu for each category : The &amp;#034;select case&amp;#034; statement...]]></title>
   <link>https://forum.productcart.com/unique-menu-for-each-category_topic1612_post5048.html#5048</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=303">Hamish</a><br /><strong>Subject:</strong> 1612<br /><strong>Posted:</strong> 13-May-2008 at 5:42pm<br /><br />The "select case" statement gives the name of a variable and then each "Case" test checks the value of that variable until a match is found and then executes that piece of code. If no match is found then, if present, "case else" is executed.&nbsp;]]>
   </description>
   <pubDate>Tue, 13 May 2008 17:42:32 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/unique-menu-for-each-category_topic1612_post5048.html#5048</guid>
  </item> 
  <item>
   <title><![CDATA[Unique menu for each category : Hi,  - consider hands held. ASP...]]></title>
   <link>https://forum.productcart.com/unique-menu-for-each-category_topic1612_post5047.html#5047</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=303">Hamish</a><br /><strong>Subject:</strong> 1612<br /><strong>Posted:</strong> 13-May-2008 at 5:40pm<br /><br />Hi,&nbsp; <img src="https://forum.productcart.com/smileys/smiley31.gif" border="0" alt="Hug" /> - consider hands held. ASP stands for Active Server Page.&nbsp; It's a microsoft term for pages built dynamically at the server.&nbsp; Several languages could be used, but product cart is written in vbscript.<br>If you have php&nbsp; &amp; ruby under your belt then vbscript will be stright forward I would think - once your brain's recovered a bit <img src="https://forum.productcart.com/smileys/smiley4.gif" border="0" alt="Big%20smile" />.<br><br>To find out more&nbsp; about vbscript then&nbsp; visit <a href="http://www.w3schools.com/Vb&#115;cript/default.asp" target="_blank">http://www.w3schools.com/Vbscript/default.asp</a>  <br>It's a traditional procedural language &amp; to distinguish it from the HTML etc it's encapsulated in &lt;%&nbsp; %&gt;&nbsp; - Not necessarily, in fact preferably not, around each individual line.<br><br>There's also SQL &amp; Javascript in the files as well.<br>]]>
   </description>
   <pubDate>Tue, 13 May 2008 17:40:05 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/unique-menu-for-each-category_topic1612_post5047.html#5047</guid>
  </item> 
  <item>
   <title><![CDATA[Unique menu for each category : Thanks Hamish - what exactly would...]]></title>
   <link>https://forum.productcart.com/unique-menu-for-each-category_topic1612_post5046.html#5046</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=291">caughlan</a><br /><strong>Subject:</strong> 1612<br /><strong>Posted:</strong> 13-May-2008 at 3:49pm<br /><br />Thanks Hamish -&nbsp; what exactly would I write where you've written "select case" and "case 1" etc. <br><br>I assume I'm to change something there, but my biggest stumbling block is the exact language asp uses. I just finished figuring out php and ruby for two of my other sites, and my brain is on overload - any hand-holding would be greatly appreciated! <br><br>stacelynn<br><br><br>]]>
   </description>
   <pubDate>Tue, 13 May 2008 15:49:25 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/unique-menu-for-each-category_topic1612_post5046.html#5046</guid>
  </item> 
  <item>
   <title><![CDATA[Unique menu for each category : Hi Cauglan, if you have quite...]]></title>
   <link>https://forum.productcart.com/unique-menu-for-each-category_topic1612_post5039.html#5039</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=303">Hamish</a><br /><strong>Subject:</strong> 1612<br /><strong>Posted:</strong> 13-May-2008 at 6:35am<br /><br />Hi Cauglan,&nbsp; if you have quite a few categories you could try something like :-<br><br>&lt;%select case pIdCategory%&gt;<br>&nbsp; &lt;%case 1 %&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--#include file="inc_Menu1.inc"--&gt;<br>&nbsp; &lt;%case 2 %&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--#include file="inc_Menu2.inc"--&gt;<br>&nbsp; &lt;%case 3 %&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--#include file="inc_Menu3.inc"--&gt;<br>&nbsp;&nbsp; &lt;%case else %&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--#include file="inc_MenuAll.inc"--&gt;<br>&lt;% end select&nbsp; %&gt; <br><br>]]>
   </description>
   <pubDate>Tue, 13 May 2008 06:35:59 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/unique-menu-for-each-category_topic1612_post5039.html#5039</guid>
  </item> 
  <item>
   <title><![CDATA[Unique menu for each category :  &amp;lt;%if session(&amp;#034;customerType&amp;#034;)=&amp;#034;1&amp;#034;...]]></title>
   <link>https://forum.productcart.com/unique-menu-for-each-category_topic1612_post5023.html#5023</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=291">caughlan</a><br /><strong>Subject:</strong> 1612<br /><strong>Posted:</strong> 10-May-2008 at 8:42pm<br /><br />&lt;%if session("customerType")="1" then%&gt;<br>&nbsp;&nbsp;&nbsp; &lt;!--#include file="inc_WholeSaleCatMenu.inc"--&gt;<br>&lt;%else%&gt;<br>&nbsp;&nbsp;&nbsp; &lt;!--#include file="inc_RetailCatMenu.inc"--&gt;<br>&lt;%end if%&gt;<br><br><pre> &lt;% if pIdCategory=100 then %&gt;<br>   Show special content to be displayed when category 100 is shown<br> &lt;% else %&gt;<br>   Show something else<br> &lt;% end if %&gt;</pre><br>I'm going to play around with these statements and see if I can get what I'm looking for. I don't want to lose a unique menu for my wholesalers, but i hope that's easy to avoid...<br><br>thx<br>]]>
   </description>
   <pubDate>Sat, 10 May 2008 20:42:19 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/unique-menu-for-each-category_topic1612_post5023.html#5023</guid>
  </item> 
  <item>
   <title><![CDATA[Unique menu for each category : its a pretty common in this industry...]]></title>
   <link>https://forum.productcart.com/unique-menu-for-each-category_topic1612_post5021.html#5021</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=291">caughlan</a><br /><strong>Subject:</strong> 1612<br /><strong>Posted:</strong> 10-May-2008 at 7:12pm<br /><br />its a pretty common in this industry to do navigation this way. The top horizontal nav stays the same, but the left navigation is specific to your category.<br><br>http://www.bathandbodyworks.com/category/index.jsp?categoryId=2484525<br>http://store.crabtree-evelyn.com/bath-and-body.html<br>]]>
   </description>
   <pubDate>Sat, 10 May 2008 19:12:05 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/unique-menu-for-each-category_topic1612_post5021.html#5021</guid>
  </item> 
  <item>
   <title><![CDATA[Unique menu for each category : Hi, Wow - just been overtaken...]]></title>
   <link>https://forum.productcart.com/unique-menu-for-each-category_topic1612_post5019.html#5019</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=303">Hamish</a><br /><strong>Subject:</strong> 1612<br /><strong>Posted:</strong> 10-May-2008 at 5:49pm<br /><br />Hi,<br>&nbsp;&nbsp; Wow - just been overtaken by event's then - Well done EA <img src="https://forum.productcart.com/smileys/smiley1.gif" border="0" alt="Smile" />.<br><br>Anyway - For your specific circumstances - I'm sure the code is straight forward, but probably I would use a case statement.&nbsp; Firstly, what are you trying to achieve with the different menus?&nbsp; It seems an unusual thing to do as usually it's best to leave the customer with the same menu so they feel they can find their way easily so I'd like to understand so I can give the right advice.&nbsp;  <br>It MAY be that the dynamic menus available from the WIKI <br><a href="http://wiki.earlyimpact.com/how_to/add_category_navigati&#111;n" target="_blank">http://wiki.earlyimpact.com/how_to/add_category_navigation</a><br>will meet your needs - but I suspect it may not. <br><br>]]>
   </description>
   <pubDate>Sat, 10 May 2008 17:49:37 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/unique-menu-for-each-category_topic1612_post5019.html#5019</guid>
  </item> 
  <item>
   <title><![CDATA[Unique menu for each category : We added an article to the ProductCart...]]></title>
   <link>https://forum.productcart.com/unique-menu-for-each-category_topic1612_post5018.html#5018</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1">ProductCart</a><br /><strong>Subject:</strong> 1612<br /><strong>Posted:</strong> 10-May-2008 at 5:30pm<br /><br />We added an article to the ProductCart WIKI since other customers might find this information helpful: <a href="http://wiki.earlyimpact.com/how_to/display_different_c&#111;ntent_category" target="_blank">http://wiki.earlyimpact.com/how_to/display_different_content_category</a><br><br>We're counting on the WIKI becoming a true <i>encyclopedia </i>of everything about ProductCart. We'll need everyone's contribution to make that happen! For now, it's still a work in progress.<br>]]>
   </description>
   <pubDate>Sat, 10 May 2008 17:30:59 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/unique-menu-for-each-category_topic1612_post5018.html#5018</guid>
  </item> 
  <item>
   <title><![CDATA[Unique menu for each category : Hi Hamish - You&amp;#039;re right,...]]></title>
   <link>https://forum.productcart.com/unique-menu-for-each-category_topic1612_post5017.html#5017</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=291">caughlan</a><br /><strong>Subject:</strong> 1612<br /><strong>Posted:</strong> 10-May-2008 at 2:20pm<br /><br />Hi Hamish - You're right, that would be quite a mess if the header is called from different spots!<br><br>I just want the left menu to change based on the category you're in. Seemed like a simple idea<br><br>So in my earlier post with the code that calls the menus, I thought it could be done here with a simple call for a new menu for each idcategory that i would specify. That would have avoided touching the header.asp completely.<br><br>But I don't know how to write code so i have no idea if it would work anyway. <br><br>On another note: This forum seems to be a place where developers-for-hire lurk and jump when they sense someone might hire them. I'm surprised at the private emails I've gotten where I've been told they have the solution, but it will cost me. I participate in many forums and this one is the worst for that...<br><br>stacelynn<br><br><br><br><br>]]>
   </description>
   <pubDate>Sat, 10 May 2008 14:20:44 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/unique-menu-for-each-category_topic1612_post5017.html#5017</guid>
  </item> 
  <item>
   <title><![CDATA[Unique menu for each category :  Hi Caughlan, We only went this...]]></title>
   <link>https://forum.productcart.com/unique-menu-for-each-category_topic1612_post5016.html#5016</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=303">Hamish</a><br /><strong>Subject:</strong> 1612<br /><strong>Posted:</strong> 10-May-2008 at 5:17am<br /><br />Hi Caughlan,<br>&nbsp;&nbsp;&nbsp;&nbsp; We only went this route because&nbsp; we wanted both the page content and the header to be different for a single category.&nbsp; <br>I was thinking that the best place to do this is where the header.asp is called and use If/else or case BUT...&nbsp; header.asp is called from many many places.<br><br>What do you want to be different in the headers? <br>It may well be simpler in the short term and easier to maintain in the long term if you build a version of header.asp that can take account of the categories. <br><br><span style="font-size:10px"><br /><br />Edited by Hamish - 10-May-2008 at 5:23am</span>]]>
   </description>
   <pubDate>Sat, 10 May 2008 05:17:48 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/unique-menu-for-each-category_topic1612_post5016.html#5016</guid>
  </item> 
 </channel>
</rss>