PDA

View Full Version : Logged in customer not seeing discounts


jmedinger
30-Apr-2003, 03:02 PM
Hi there,

I've a site which has hard coded links down either side of the catalog to sections within the site

My problem is this:-

If a customer logs into the site and navigates solely by the Actinic generated catalog links, all the discounts on the products are visible.
However, when they use a hard coded link, the page is displayed without their logged in discount.

Can I get Actinic to recognise that they have logged in and are in a currently active session when they use these hard coded links?

If not, can I amend the hard coded links to include a reference which will be ignored if the customer is not logged in but correctly displayd if they are?

Cheers

Jos

cdicken
01-May-2003, 03:05 PM
You need to use a link of the following form:

http://your.URL/cgi-bin/ss00000x.pl?SECTIONID=Section%5fPage%2ehtml&NOLOGIN=1

Where

http://your.URL/cgi-bin/

is the URL of your CGI-BIN

x

is your cgi script ID number (this is normally '1')

Section%5fPage%2ehtml

is the filename of the page in the 'acatalog' folder you want to link to (with any underscores replaced by %5f and and dots replaced by %2e)

jmedinger
01-May-2003, 06:44 PM
Chris,

Thanks for this

There's a LOT of links ot change however it does appear to work once I've changed them

One final question... some of the links were hard coded with anchors to go direct to a product. Can I replicate this... it appears that the anchors are now being ignored

Cheers

Jos

cdicken
02-May-2003, 11:13 AM
Yes, this is even easier than linking to sections. Use a link of the following form:

http://your.URL/cgi-bin/ss00000x.pl?PRODREF=12345&NOLOGIN=1

Where 12345 is the product reference of the product you want to link to.

jmedinger
02-May-2003, 02:39 PM
Thanks Chris,

You've solved all my problems (well for the time being anyway!)

Cheers

Jos