Print Page | Close Window

Product Navigation

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=2917
Printed Date: 25-July-2025 at 10:56am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Product Navigation
Posted By: spectre
Subject: Product Navigation
Date Posted: 03-August-2009 at 1:10pm
I have 2 main categories that have separate subcategories.

Stone
    subcategory
    subcategory
    subcategory
    subcategory

Tile
    subcategory
    subcategory
    subcategory
    subcategory

Currently, the navigations shows in both categories and I want them to be specific to their own categories. So if I was in stone I would not see tile and vise versa. It seems that it defaults to putting them both in "Products" and them them broken out.

How do I do this in Product Cart?



Replies:
Posted By: Hamish
Date Posted: 03-August-2009 at 1:48pm
Hi The navigation you can generate from within ProductCart is not a requirement, in other words you can use whatever navigation you prefer, the only caveat being that you will obviously not then be able to use the "generate navigation" feature to update the navigation. That said, I know of some stores that have either modified the "Generate Navigation" to generate one in the form that they prefer, or use it to generate the links and then grab a cop of the generated navigation file and use that to assist when amending their manually maintained navigation. 

-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: spectre
Date Posted: 03-August-2009 at 1:58pm
I understand that but it really doesnt answer what Im looking for I guess...
So can I have 2 viewcategories.asp files that refer to each category? Instead of one that does all of them?

This would help on a few levels, I could have each reference its own category/subcategories and global navigation. Issue is that each category has its own idCategory=

So can I hard code it to do this viewcategories.asp?Category=1
and viewcategories2.asp?Category=2

Then just reference the inc_RetailCatMenu.inc for Category 1
and inc_RetailCatMenu2.inc for Category 2

Make sense? If this can be done than how do I change the reference for the viewcategories.asp file to reference the other asp page so it displays the correct category.


Posted By: Greg Dinger
Date Posted: 03-August-2009 at 2:08pm
Sure, if you can tackle the necessary programming, or hire someone who can do it for you.
 
The stock viewcategories.asp page features a "breadcrumbs" reference which allows the visitor to get back from the subcategory to the root level.  Thus to keep them "captive" to that page, you need to alter (or eliminate) the breadcrumbs.


-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: spectre
Date Posted: 03-August-2009 at 2:37pm
Agh...didnt know it was controlled from the pcBreadCrumbs.asp file. Thats a nice feature to have.

Is there a work around that would be easy to not have "Our Products" and have "Category 1" be the Parent and "Category 2" be the parent? Or is this getting back to where we started? The Our Products is really hindering any use of global navigation to get to that specific category. Plus, causing it to have other categories within it.


Posted By: Greg Dinger
Date Posted: 03-August-2009 at 2:59pm
Have you played with this in EI's demo stores?  Look at categories "test 1" and "test 2" on this demo:
 
http://www.earlyimpact.com/demos/standard/pc/viewcategories.asp - http://www.earlyimpact.com/demos/standard/pc/viewcategories.asp
 
Note that when you drill down to "test 1" http://www.earlyimpact.com/demos/standard/pc/viewCategories.asp?idCategory=21 - http://www.earlyimpact.com/demos/standard/pc/viewCategories.asp?idCategory=21  and click on "our products", you are taken back to the root level where all such root categories appear.   
 
You can certainly dig into the code for viewcategories.asp, viewprd.asp and /includes/languages.asp, locate the breadcrumb stuff, and change as necessary. 


-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net