Print Page | Close Window

Link to Hidden Product not Working

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Using ProductCart
Forum Description: Running your store with ProductCart
URL: https://forum.productcart.com/forum_posts.asp?TID=4033
Printed Date: 04-March-2025 at 4:41am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Link to Hidden Product not Working
Posted By: macleather
Subject: Link to Hidden Product not Working
Date Posted: 28-September-2010 at 6:11pm
Hi All,

I've set up a hidden category and added a product in it for a special order. Generated category navigation. When attempting to view the product from the control panel, I get the message that the category or item is not available. I've changed the url of the item by first removing the item from the hidden category, previewing it, copying the url, changing the &adminPreview=1 to &specialLink=1. Changed the pc/viewprodcode.asp as indicated in the instructions and when clicking on my link I get the following error message The product or category that you are trying to view is either not valid or not available. If you believe that you are receiving this message in error, contact us.. I'm currently on v4.0 SP4. This is the link I'm using http://www.mcpcustomleather.com/macstore/pc/viewPrd.asp?idproduct=276&specialLink=1 - This is the link I'm using

Any ideas what I'm doing wrong?

Thanks

Alan

-------------
Alan
http://www.mcpcustomleather.com - MacPherson Custom Leather



Replies:
Posted By: Greg Dinger
Date Posted: 28-September-2010 at 6:35pm
You just got stung by the same deal I discovered this weekend.  Assign the product to a category and your problem should be resolved.

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

Certified ProductCart Developer

Web Design/Development/Hosting

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


Posted By: macleather
Date Posted: 28-September-2010 at 6:46pm
Greg, thanks. I just assigned the item to a visible category and indeed it worked via my link. However, the item now also visible in the non-hidden category I assigned it to. It seems that it defeats the purpose of the hidden category idea, especially in my use which is as a special order for a specific customer. Is it supposed to work that way or is this a bug?

Thanks again,

Alan

-------------
Alan
http://www.mcpcustomleather.com - MacPherson Custom Leather


Posted By: Greg Dinger
Date Posted: 28-September-2010 at 7:09pm
I hear ya.  I don't recall the precise solution beyond this point.  If you search on "hidden" this topic has been covered in the past and I do believe that the solution was posted.

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

Certified ProductCart Developer

Web Design/Development/Hosting

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


Posted By: katharina
Date Posted: 28-September-2010 at 7:56pm
Did you edit the viewprdcode.asp file?  That needs to be done to make it work.  Here is the link for the info:
http://wiki.earlyimpact.com/how_to/links_to_hidden_products - http://wiki.earlyimpact.com/how_to/links_to_hidden_products



-------------
Katharina
*******************
www.GermanPlaza.com
*******************


Posted By: macleather
Date Posted: 28-September-2010 at 7:59pm
Hi Katharina,

Yes, I did the edit. Once I added the hidden product to a visible category as well as the hidden category as Greg suggested, the link worked fine but the product also appears in the visible category as well as the hidden category so it can be seen in the storefront. Weird.

Alan

-------------
Alan
http://www.mcpcustomleather.com - MacPherson Custom Leather



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