ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - How do I disable Our Products in breadcrumbs
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How do I disable Our Products in breadcrumbs

 Post Reply Post Reply
Author
Message
BigOrder View Drop Down
Newbie
Newbie


Joined: 08-April-2009
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote BigOrder Quote  Post ReplyReply Direct Link To This Post Topic: How do I disable Our Products in breadcrumbs
    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
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: 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

Our Site
Back to Top
BigOrder View Drop Down
Newbie
Newbie


Joined: 08-April-2009
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote BigOrder Quote  Post ReplyReply Direct Link To This Post 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?
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: 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

Our Site
Back to Top
BigOrder View Drop Down
Newbie
Newbie


Joined: 08-April-2009
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote BigOrder Quote  Post ReplyReply Direct Link To This Post 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.




Edited by BigOrder - 08-April-2009 at 2:54pm
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: 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

Our Site
Back to Top
BigOrder View Drop Down
Newbie
Newbie


Joined: 08-April-2009
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote BigOrder Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
BigOrder View Drop Down
Newbie
Newbie


Joined: 08-April-2009
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote BigOrder Quote  Post ReplyReply Direct Link To This Post Posted: 08-April-2009 at 3:05pm
Oh, I wanted to thank you for your help. So.. thanks!
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.