Product purchase by link only
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=2418
Printed Date: 28-February-2025 at 5:22pm Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: Product purchase by link only
Posted By: katharina
Subject: Product purchase by link only
Date Posted: 02-February-2009 at 1:07pm
This goes back to this discussion: http://www.earlyimpact.com/forum/forum_posts.asp?TID=2108 - http://www.earlyimpact.com/forum/forum_posts.asp?TID=2108 The question was as how to have a product available for purchase per link, but not visible in the store front. This can be used for a special buy, promotion, or invoicing. We use it for customer with shipping charges to be determined. Worked great for international customers, and we never got screwed on shipping cost that way. We basically send a link to the product (shipping cost in this case) and the customer can follow it and pay for it. The way we did it was basically create a hidden directory with the product inside of it. So far it was working wonderfully for us, until I upgraded to 3.51. No I can no longer show products to customers that are in a hidden directory. I'm really bumbed about that. Any idea how to fix this? Katharina
|
Replies:
Posted By: ProductCart
Date Posted: 02-February-2009 at 1:17pm
In version 3.51 we fixed an issue with products being visible in
certain cases even if assigned to a hidden categories. We do believe
that this was a bug and that it needed to be fixed.
We are sorry that this created an issue!
You can do what you are describing by using the "Admin Preview" feature. That is: adding to the product page URL the querystring "&adminPreview=1".
Since the name "adminPreview" is not customer friendly, you could change the code to check for two queystrings. Here the second querystring is "specialLink=1". Change the following line of code inside viewprdcode.asp to accomplish this.
Dim pcv_intAdminPreview pcv_intAdminPreview=0 pcv_intAdminPreview=getUserInput(Request("adminPreview"),10) if not validNum(pcv_intAdminPreview) then pcv_intAdminPreview=0 end if |
... would become:
Dim pcv_intAdminPreview pcv_intAdminPreview=0 pcv_intAdminPreview=getUserInput(Request("adminPreview"),10) if not validNum(pcv_intAdminPreview) then pcv_intAdminPreview=0 end if if pcv_intAdminPreview=0 then pcv_intAdminPreview=getUserInput(Request("specialLink"),10) if not validNum(pcv_intAdminPreview) then pcv_intAdminPreview=0 end if end if |
------------- The ProductCart Team
Home of ProductCart http://www.productcart.com" rel="nofollow - shopping cart software
|
Posted By: katharina
Date Posted: 02-February-2009 at 1:45pm
Did all of it, and it still doesn't work. At the same time I've noticed that it does not work with the adminPreview in the link either. The items is active, but the category is hidden. Katharina
|
Posted By: katharina
Date Posted: 02-February-2009 at 1:50pm
I hope we can get this to work.
Suggestion for future updates: Add this feature to "other settings" under "modify category". "Hide this product from store front, but make it available per link." Until now it was a very powerful option for us. We cannot call customers overseas for their shipping charges to be determined, not can we ask them to pay for long distance calls to give us their credit card number.
|
Posted By: katharina
Date Posted: 02-February-2009 at 2:03pm
http://www.germanplaza.com/ProductCart/pc/viewPrd.asp?idproduct=3143 - http://www.germanplaza.com/ProductCart/pc/viewPrd.asp?idproduct=3143
http://www.germanplaza.com/ProductCart/pc/viewPrd.asp?idproduct=3143&adminPreview=1 - http://www.germanplaza.com/ProductCart/pc/viewPrd.asp?idproduct=3143&adminPreview=1
http://www.germanplaza.com/ProductCart/pc/viewPrd.asp?idproduct=3143&specialLink=1 - http://www.germanplaza.com/ProductCart/pc/viewPrd.asp?idproduct=3143&specialLink=1
For reference of the product. All incidents give the same error message, since the category is hidden.
|
Posted By: Hamish
Date Posted: 02-February-2009 at 3:50pm
Hi Katharina, I've just tested this on one of our internal stores and it's working correctly there - The adminpreview function should have worked anyway - I suspect you made a small error when entering the new code. Please check it and if it's not resolved please raise a support ticket.
------------- Editing ProductCart Code?
See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code
|
Posted By: katharina
Date Posted: 02-February-2009 at 3:58pm
I did cut and paste the code. The admin preview did not work even with the unedited code. Perhaps something else causing this. I will raise the ticket later today. Have to go to town today.... Katharina
|
Posted By: Hamish
Date Posted: 02-February-2009 at 5:13pm
For the interest of anyone else wishing to use this work around. The problem has been identified. The extra code is fine. In this case, because the category only existed to hold "hidden products" it had not be given any short description text (which would seem to make sense as the category would never be viewed). As soon as a short description was saved with the category the links worked successfully.
------------- Editing ProductCart Code?
See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code
|
Posted By: katharina
Date Posted: 02-February-2009 at 9:10pm
Thanks if works great now. Katharina
|
Posted By: knifepro
Date Posted: 10-September-2009 at 1:29pm
Is there a way to show the hidden actual hidden category with the products. I can show a individual product that is part of a hidden category but can show the category with all of the products. I tried using the url
http://www.knifepro.com/store/pc/viewCategories.asp?idCategory=26&specialLink=1
------------- Brian
brian@theknifeprofessional.com brian@heartlandbraidedrugs.com www.theknifeprofessional.com www.heartlandbraidedrugs.com ProductCart v4.7 QuickBooks Sync Mobile
|
Posted By: LittleOnesResource
Date Posted: 20-October-2009 at 11:37am
Thank you so much for posting the solution to this problem. Adding the short description has also solved my problem as well.
Thanks.
Amy.
|
|