ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Different menus for Different Categories
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Different menus for Different Categories

 Post Reply Post Reply
Author
Message
loracady View Drop Down
Newbie
Newbie
Avatar

Joined: 28-December-2007
Location: United States
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote loracady Quote  Post ReplyReply Direct Link To This Post Topic: Different menus for Different Categories
    Posted: 19-January-2008 at 12:56pm

I want the left navigation to change with each category, so that each subcategory is shown in the left navigation, instead of all the main categories.  Does anyone know how to do this?  Take a look at macy's website www.macys.com.  I'd like that type of navigation.



Edited by loracady - 19-January-2008 at 12:57pm
Back to Top
netprofits View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers


Joined: 05-January-2006
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote netprofits Quote  Post ReplyReply Direct Link To This Post Posted: 21-January-2008 at 10:50am

Macy's shows the subcategories below the selected main category but still keeps the other main categories visible on the nav bar.

This is how the Product Cart 3.x navigation works. Any main categories that have subcategories, show a "+". When the category is selected, the subcategories are displayed below it.

NetProfits Internet Consulting

Certified ProductCart Developer

Our Site
Back to Top
loracady View Drop Down
Newbie
Newbie
Avatar

Joined: 28-December-2007
Location: United States
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote loracady Quote  Post ReplyReply Direct Link To This Post Posted: 24-January-2008 at 2:45pm

Thanks for your reply.  Here is an even better example.  Take a look at Company C's Product Cart website:  The following link takes you to the "Rugs" category page.  After you land on this page, click to select "Pillows"  http://www.companyc.com/html/rugs.htm.

The left navigation menu is completely different depending on what category you are in.  How can this be done?



Edited by loracady - 24-January-2008 at 2:46pm
Back to Top
netprofits View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers


Joined: 05-January-2006
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote netprofits Quote  Post ReplyReply Direct Link To This Post Posted: 24-January-2008 at 2:54pm
I think this sample site is more complex than what you would need but basically, your request requires custom programming on the header.asp file. Based on the currently selected main category, the header.asp code would load and display the subcategories for that main category. If no main category is selected, all the main categories would be displayed. Is that what you mean and does that make sense?
NetProfits Internet Consulting

Certified ProductCart Developer

Our Site
Back to Top
loracady View Drop Down
Newbie
Newbie
Avatar

Joined: 28-December-2007
Location: United States
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote loracady Quote  Post ReplyReply Direct Link To This Post Posted: 24-January-2008 at 3:31pm
That is exactly what I mean! 
Back to Top
netprofits View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers


Joined: 05-January-2006
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote netprofits Quote  Post ReplyReply Direct Link To This Post Posted: 24-January-2008 at 3:35pm

Do you know ASP to be able to program that or do you to work with a developer to have that custom coded?

NetProfits Internet Consulting

Certified ProductCart Developer

Our Site
Back to Top
loracady View Drop Down
Newbie
Newbie
Avatar

Joined: 28-December-2007
Location: United States
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote loracady Quote  Post ReplyReply Direct Link To This Post Posted: 24-January-2008 at 3:42pm
Well, I try to be a do-it-myselfer, but I admit I know very little about ASP.  If it is fairly complicated, I'd need a developer.  I don't currently have one, though. 
Back to Top
whizzinpc View Drop Down
Newbie
Newbie
Avatar

Joined: 17-January-2006
Location: California
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote whizzinpc Quote  Post ReplyReply Direct Link To This Post Posted: 25-January-2008 at 11:58am

Here is what we did for displaying the subcategories on our template.... i just added the code to the header file where I want it to display. I'm not sure if its done right... I just copied it from a different area and changed the way its displayed. You can see an example here...http://www.memorablegifts.com/gifts_for_him.html

<!-- Begin Category List -->

<div style="background-color:#FFFFCC; width:auto;">

<% if intSubCatExist=<1 then %>

<h3 style="color:#800000; text-transform:capitalize; margin-top:6px; margin-left:8px; font-size:16px;"><%=pCategoryName%></h3>

<% end if %>

<% mySQL="SELECT idCategory,categoryDesc FROM categories WHERE idParentCategory = " & pIdCategory & " AND idCategory<>1 AND iBTOhide=0 ORDER BY priority, categoryDesc ASC;"

set rsCategory=conlayout.execute(mySQL)

if err.number <> 0 then

response.write "&nbsp;"

else

if rsCategory.eof then

else

Do until rsCategory.eof

pidCategoryNew = rsCategory("idCategory")

pCategoryDescNew = rsCategory("categoryDesc") %>

<div class="buttonscontainer">

<div class="buttons">

<a href='http://www.memorablegifts.com/productcart/pc/viewCat_& lt;%=bType%>.asp?idCategory=<%=pidCategoryNew%>' title="<%=pCategoryDescNew%>"><%=pCategoryDescNe w%></a>

</div></div>

<%

rsCategory.movenext

loop

set rsCategory=nothing

end if

end if %>

</div>

<!-- End Category List -->



Edited by whizzinpc - 25-January-2008 at 11:59am
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 26-January-2008 at 10:02am

As a point of interest, somewhat related to this topic, I regularly alter the automatic category navigation generation script to address the needs of the sites I create.

For example: http://www.wranglersroost.com/store/pc/home.asp

(That store is not live - migrating from another cart.) An examination of the underlying code for the category navigation will reveal that the generator now assigns multiple CSS classes as well as altering the table structure in order to present a custom look for the categories and subcategories.

It is far from a simple mod, but it can be done...

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.