ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Getting Started
  New Posts New Posts RSS Feed - Modify CustPref.asp
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Modify CustPref.asp

 Post Reply Post Reply
Author
Message
lcameron View Drop Down
Groupie
Groupie


Joined: 08-May-2006
Status: Offline
Points: 47
Post Options Post Options   Thanks (0) Thanks(0)   Quote lcameron Quote  Post ReplyReply Direct Link To This Post Topic: Modify CustPref.asp
    Posted: 25-December-2006 at 5:46am

Is anyone aware of a way to edit the CustPref.asp that members are directed to when logged in? We are wanting to add some extra links to a customer specific static page and also some extra text specific to each customer.

If can't be done through CustPref.asp page, any suggestions how?

Hope that makes sense...

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: 26-December-2006 at 10:08am
It is custpref.asp. Just search for the area that displays the menu after a customer logs in and add your own links and text. It is in the bottom half of the code.
NetProfits Internet Consulting

Certified ProductCart Developer

Our Site
Back to Top
lcameron View Drop Down
Groupie
Groupie


Joined: 08-May-2006
Status: Offline
Points: 47
Post Options Post Options   Thanks (0) Thanks(0)   Quote lcameron Quote  Post ReplyReply Direct Link To This Post Posted: 26-December-2006 at 5:43pm
Thanks NetProfits, Any idea how I can link to different pages for different customers?
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: 27-December-2006 at 11:11am

After a customer logs in, their customer ID is stored in session("idCustomer"). You can check that value to display different info for each customer. You can also check session("pcStrCustName") but that is not guarenteed to be unique since customers can have the same name.

NetProfits Internet Consulting

Certified ProductCart Developer

Our Site
Back to Top
lcameron View Drop Down
Groupie
Groupie


Joined: 08-May-2006
Status: Offline
Points: 47
Post Options Post Options   Thanks (0) Thanks(0)   Quote lcameron Quote  Post ReplyReply Direct Link To This Post Posted: 27-December-2006 at 6:02pm

Thank you netprofits, Would you be able to point me in an example of the type of code or what I would need to do? (Sorry, new to editing ASP)

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: 28-December-2006 at 2:23pm

The easiest would be to use the Customer ID as part of the page name as follows:


<a href="custompage<%=Session("idCustomer")%>.asp">You r link text</a>

You would need to create a unique page for each customer with filenames like:
custompage1.asp, customerpage2.asp, etc. where the number matches the customer ID.

This seems like a lot of work. Do you really need unique content for each customer?

NetProfits Internet Consulting

Certified ProductCart Developer

Our Site
Back to Top
lcameron View Drop Down
Groupie
Groupie


Joined: 08-May-2006
Status: Offline
Points: 47
Post Options Post Options   Thanks (0) Thanks(0)   Quote lcameron Quote  Post ReplyReply Direct Link To This Post Posted: 28-December-2006 at 3:33pm

Perfect netProfits, Thanks  Will get to installing today, fingers crossed everything goes to plan.

It wont be for every single customer that buys in the shop, just those we are doing a project for so shouldnt be too big hopefully.

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.063 seconds.