![]() |
Modify CustPref.asp |
Post Reply
|
| Author | |
lcameron
Groupie
Joined: 08-May-2006 Status: Offline Points: 47 |
Post Options
Thanks(0)
Quote Reply
Topic: Modify CustPref.aspPosted: 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... |
|
![]() |
|
netprofits
Certified ProductCart Developers
Joined: 05-January-2006 Location: United States Status: Offline Points: 22 |
Post Options
Thanks(0)
Quote Reply
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.
|
|
![]() |
|
lcameron
Groupie
Joined: 08-May-2006 Status: Offline Points: 47 |
Post Options
Thanks(0)
Quote Reply
Posted: 26-December-2006 at 5:43pm |
|
Thanks NetProfits, Any idea how I can link to different pages for different customers?
|
|
![]() |
|
netprofits
Certified ProductCart Developers
Joined: 05-January-2006 Location: United States Status: Offline Points: 22 |
Post Options
Thanks(0)
Quote Reply
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. |
|
![]() |
|
lcameron
Groupie
Joined: 08-May-2006 Status: Offline Points: 47 |
Post Options
Thanks(0)
Quote Reply
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) |
|
![]() |
|
netprofits
Certified ProductCart Developers
Joined: 05-January-2006 Location: United States Status: Offline Points: 22 |
Post Options
Thanks(0)
Quote Reply
Posted: 28-December-2006 at 2:23pm |
|
The easiest would be to use the Customer ID as part of the page name as follows:
You would need to create a unique page for each customer with filenames like: This seems like a lot of work. Do you really need unique content for each customer? |
|
![]() |
|
lcameron
Groupie
Joined: 08-May-2006 Status: Offline Points: 47 |
Post Options
Thanks(0)
Quote Reply
Posted: 28-December-2006 at 3:33pm |
|
Perfect netProfits, Thanks 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. |
|
![]() |
|
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 |