PDA

View Full Version : Add product from static page


SDanel
26-Feb-2003, 08:25 AM
Hi,
I want to add to cart a product from
a static page.
I send by the QUERY-STRING :
ca000001.pl?PAGE=PRODUCT&PRODREF=12546&SID=34

I go to edit mode and i change the quantity but when i validate it does nott append to the cart but replace the product.

What 's happen ?

Thank you.

cdicken
27-Feb-2003, 10:34 AM
Because you are not adding from a page in the acatalog directory, Actinic cannot find the *.session file for your current shopping session. Therefore, every time you do it, you are being treated as a fresh customer - hence the cart contents are lost.

SDanel
27-Feb-2003, 11:27 AM
No the page is in the acatalog directory and it finds the cartid but it change the last product of the cart.
If I add "RANDOM2=NETQUOTEVAR%3ARANDOM"
in the QUERY-STRING it works fine.
Do you think i could have some problems ?

How can i do with the components,attributes of a product in the QUERY-STRING ?

Thanks

Stéphane

cdicken
28-Feb-2003, 03:58 PM
I'm afraid I have never done this, nor have ever seen it done before.

I would love to help you, but you are on your own unless someone else on this forum has successfully done this.