ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Using ProductCart
  New Posts New Posts RSS Feed - Product purchase by link only
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Product purchase by link only

 Post Reply Post Reply Page  12>
Author
Message
katharina View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25-October-2005
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote katharina Quote  Post ReplyReply Direct Link To This Post Topic: Product purchase by link only
    Posted: 02-February-2009 at 1:07pm
This goes back to this discussion:
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
Back to Top
ProductCart View Drop Down
Admin Group
Admin Group

ProductCart Team

Joined: 01-October-2003
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote ProductCart Quote  Post ReplyReply Direct Link To This Post 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



Edited by earlyimp - 02-February-2009 at 1:19pm
The ProductCart Team

Home of ProductCart shopping cart software
Back to Top
katharina View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25-October-2005
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote katharina Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
katharina View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25-October-2005
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote katharina Quote  Post ReplyReply Direct Link To This Post 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. 
Back to Top
katharina View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25-October-2005
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote katharina Quote  Post ReplyReply Direct Link To This Post Posted: 02-February-2009 at 2:03pm
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
katharina View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25-October-2005
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote katharina Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
katharina View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25-October-2005
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote katharina Quote  Post ReplyReply Direct Link To This Post Posted: 02-February-2009 at 9:10pm
Thanks if works great now.
Katharina
Back to Top
knifepro View Drop Down
Newbie
Newbie


Joined: 18-February-2008
Location: United States
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote knifepro Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply Page  12>
  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.078 seconds.