PDA

View Full Version : Create 'View Cart' Link


JMK2
12-Nov-2003, 06:30 PM
I need to create a 'View Cart' link because we are using our own menu system.

I checked the KB first and found the post that advises the following link should work:

http://your.URL/cgi-bin/ca000001.pl?ACTION=SHOWCART&ACTINIC_REFERRER=http://your.URL/acatalog/


When I use that I get a blank page. Is there another way to duplicate the action of the "show cart" button.

I-CC
12-Nov-2003, 08:51 PM
You could try the following type of solution:

../cgi-bin/ca000001.pl?ACTION=SHOWCART

with cgi-bin needing to be changed to what ever you use and the script ID changing is required from 01.pl to 0?.pl or 0?.cgi etc...

Hope that helps....

JMK2
12-Nov-2003, 09:46 PM
Ahh, perfect, it was the ID number, mine had been changed to '2' and it did not realize that's what the last digit on the ca was. Now I'm using the original line with the referrer and it works fine, thanks for that. The KB mentions the ID in creating product links but not in the article I read.