![]() |
Hiding a Specific Category from Search |
Post Reply ![]() |
Author | |
hollehock ![]() Newbie ![]() Joined: 24-January-2009 Location: Chicago, IL Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() Posted: 22-December-2009 at 4:23pm |
I have a unique issue that worked when the cart was simple back about 4 versions ago. I am happy with all the revisions but now something that was simple is much harder to do. I need to HIDE a SPECIFIC Category and ALL of the sub category PRODUCTS from being SEARCHED on. I have the category hidden from the public (wholesale only) so I can't have the category viewed at all either.
So I need:
If I simply hide a catgory it also hides the products.
Is this possible with version 4.0?
|
|
![]() |
|
ProductCart ![]() Admin Group ![]() ProductCart Team Joined: 01-October-2003 Status: Offline Points: 135 |
![]() ![]() ![]() ![]() ![]() |
This can be accomplished with a small code change. For details, please see the ProductCart documentation at: http://wiki.earlyimpact.com/how_to/links_to_hidden_products
|
|
![]() |
|
hollehock ![]() Newbie ![]() Joined: 24-January-2009 Location: Chicago, IL Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Thank you - that is about what we need to do. I did as the code/link indicated and now I'm getting a "500 internal error" because the links won't display at all for anything in the hidden category. It seems like a simple fix ~ however I followed step by step...did I over look something that may not have been in the instructions?
|
|
![]() |
|
Greg Dinger ![]() Certified ProductCart Developers ![]() ![]() Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
![]() ![]() ![]() ![]() ![]() |
A - check your advanced browser settings and uncheck "show friendly http error messages"
B - commented out the first "on error resume next" in /includes/opendb.asp
Do the above and you may have better information as to what the real error is.
|
|
![]() |
|
stsomeware ![]() Newbie ![]() ![]() Joined: 15-April-2009 Location: Orlando, Florid Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
![]() |
|
Greg Dinger ![]() Certified ProductCart Developers ![]() ![]() Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
![]() ![]() ![]() ![]() ![]() |
Well, somewhere in the page you have a mis-matched if/end if pair. Without seeing the code, it's not possible to determine exactly where, but that's what you need to be looking for.
Hopefully you have the prior version of the page as a backup. I'd suggest you use something like www.compareandmerge.com (other such tools are also available) to compare the current and altered versions of the page - then try to identify where an "end if" was lost.
BTW, if you are new to PC, you will find that it is helpful to your client's SEO potential by renaming the "productcart" folder to some word (or words) that would be the most important keyword in the store.
|
|
![]() |
|
ProductCart ![]() Admin Group ![]() ProductCart Team Joined: 01-October-2003 Status: Offline Points: 135 |
![]() ![]() ![]() ![]() ![]() |
We updated the code in the WIKI. There was an "end if" missing at the end of the last block of code. http://wiki.earlyimpact.com/how_to/links_to_hidden_products#productcart_v4
|
|
![]() |
|
hollehock ![]() Newbie ![]() Joined: 24-January-2009 Location: Chicago, IL Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Greetings.
We got everything to work, preview...etc. Thank you!
Last issue....I have this tested in 3 browsers on the Macintosh and the preview works fine. I have it tested in 5 browsers on my PC on the desktop and the preveiw works fine. BUT on my laptop, NOTHING previews. I know it's now computer related but at the office who the site is being built for has the same issues. One computer can see it in IE and one computer can't. all are on IE8...history cleaned out...etc.
Thoughts?
|
|
![]() |
|
Greg Dinger ![]() Certified ProductCart Developers ![]() ![]() Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
![]() ![]() ![]() ![]() ![]() |
I've looked at http://www.thelifeguardstore.com/productcart/pc/home.asp in IE8, FF3 and Safari (on XP). I can view the site just fine. Perhaps if you were to get a screen capture that would help us understand what you are looking at. Just to be clear, you are saying that nothing whatsoever appears? Is this Win7 by any chance?
|
|
![]() |
|
hollehock ![]() Newbie ![]() Joined: 24-January-2009 Location: Chicago, IL Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Disregard previous posting...we have it all figured out! Thank you all so much! Merry Christmas! |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |