Print Page | Close Window

How do I disable Our Products in breadcrumbs

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=2637
Printed Date: 24-July-2025 at 11:04pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How do I disable Our Products in breadcrumbs
Posted By: BigOrder
Subject: How do I disable Our Products in breadcrumbs
Date Posted: 08-April-2009 at 9:36am
Hello,

New user here. I searched through about 10 pages of forums and didn't see an answer for this.

I'd like to disable the "Our Products" link in the breadcrumbs. We have so many categories and I think it's pretty messy looking. I'd rather have our users just use our left side navigation and not let them see the Our Products page at all.

TIA

Shane



Replies:
Posted By: netprofits
Date Posted: 08-April-2009 at 9:57am
1. Edit the languages.asp file in the includes folder. Look for this line:
dictLanguage.Add "english_viewCat_P_2",   "<a href='viewCategories.asp'>Our Products</a>: "
 
2. Delete <a href='viewCategories.asp'>Our Products</a>:
Do NOT delete the quote marks around this text as they are required.


-------------
NetProfits Internet Consulting

Certified ProductCart Developer

http://www.nicwebdesign.com" rel="nofollow - Our Site


Posted By: BigOrder
Date Posted: 08-April-2009 at 10:07am
I actually had tried this at first. I'm no code writer, but I can usually decipher whats going on if I read it.

Anyway, when I do what you suggested is does remove the Our Products link, but at the top of the page I get this error:

set clearLanguage=nothing end function %>


Know whats going on?


Posted By: netprofits
Date Posted: 08-April-2009 at 10:14am
It looks like you are missing a closing quote or if you made other changes to the languages file one of the other lines is not formatted correctly.
After editing the line, it should look like this:
dictLanguage.Add "english_viewCat_P_2",   ""
 
Make sure you have the two double quote marks at the end.


-------------
NetProfits Internet Consulting

Certified ProductCart Developer

http://www.nicwebdesign.com" rel="nofollow - Our Site


Posted By: BigOrder
Date Posted: 08-April-2009 at 2:54pm
I don't think I'm missing a quote. I simply edited the one line to say

dictLanguage.Add "english_viewCat_P_2",   ""  

and that's it. When I put that line back to the original way the error goes away. I've made no other edits to this file.




Posted By: netprofits
Date Posted: 08-April-2009 at 2:56pm
I'm not sure what else to recommend. We do that change on sites and it works fine. I tested it again this afternoon and it worked.

-------------
NetProfits Internet Consulting

Certified ProductCart Developer

http://www.nicwebdesign.com" rel="nofollow - Our Site


Posted By: BigOrder
Date Posted: 08-April-2009 at 3:05pm
OK, I fixed the problem.

I have NO IDEA how or why .. but when opening the file in Dreamweaver the bottom seven lines of code dont show up at first. This --

function clearLanguage()
 ' clear the dictionary.
 on error resume next
 clearLanguage=dictLanguage.removeAll  
 set clearLanguage=nothing
end function
%>

After I wait a minute these lines appear (ghosts?). And on my test file that I was working with the last 3 lines got duplicated. This is what was appearing at the top of my webpage.

I never did trust Dreamweaver with code, but I haven't had to edit any code in a while and it slipped my mind not to use it.


Posted By: BigOrder
Date Posted: 08-April-2009 at 3:05pm
Oh, I wanted to thank you for your help. So.. thanks!



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