PDA

View Full Version : Adding products straight to basket


stuff-uk.net
11-Jul-2003, 11:54 AM
Can anybody tell me what parameters need to be passed to add a product directly to the shopping cart from outside the normal actinic templates in version 6?

I can get the products into the cart but cant get Actinic to return to the desired page when you hit continue shopping in the cart.

Alan

cdicken
14-Jul-2003, 09:18 AM
Have you tried using ACTINIC_REFERRER? e.g.

<input type="hidden" name="ACTINIC_REFERRER" value="http://your.URL/acatalog/page.html">

stuff-uk.net
14-Jul-2003, 01:01 PM
Chris,

I tried this countless times on Friday to no avail. Tried it this morning and it works a treat.

Anyway thanks a million.

Alan

cdicken
14-Jul-2003, 04:20 PM
This is probably thanks to a dodgy session file on the server which had stored the wrong URL for your acatalog folder.

When you got to it this morning, the old session would have timed out, and you would have started a new session - with the correct catalog URL.