I'd be using sessions to manage the user/customer ID, much safer.
My 2c worth anyway :-)

Allan

Benjamin Sterling wrote:
> Meilad
>
> Take a look at the addProductToCart function at about line 202 of the 
> demo page and that will give you 90% of the code you need.  Now you 
> just need to add it to the database by using one of the ajax 
> functions, i prefer $.ajax and send the productId (line 207) and the 
> customerID can be something that is set in a session or a hidden field 
> on the page.  Not a 100% on that one, but I'd be interested in the 
> approach you take.
>
>
> -- 
> Benjamin Sterling
> http://www.KenzoMedia.com
> http://www.KenzoHosting.com
> ------------------------------------------------------------------------
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>   

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to