Page 4 of 4 FirstFirst ... 234
Results 31 to 32 of 32

Thread: Programmatically Adding To the Cart

  1. #31
    Join Date
    Nov 2009
    Posts
    4

    Default

    I would like to add 1 to N products from a predetermined list (based on user criteria) to a shopping cart in code, and THEN get re-directed to the Shopping Cart page to see the results of filling the cart with the pre-selected items. Is this easy in ML, using the URL add to cart trick, or should it all be done in .Net code using the proper classes?

    Thx
    Brian

  2. #32
    Join Date
    May 2007
    Posts
    5

    Default formValidate.js error on add to cart button in IE

    I am having a major problem where I am unable to add to cart in IE. I get an error
    stating there was something wrong with my file formValidate.js line 918 character 4.

    Can you please let me know if I am missing something in my files that is not letting it add the products to my cart.

    This is the function that was being referenced before that I had and error
    function submitonce(theform)
    {
    if (document.all||document.getElementById)
    {
    for (i=0;i<theform.length;i++)
    { var tempobj=theform.elements[i];
    if(tempobj.type.toLowerCase()=="submit" || tempobj.type.toLowerCase()=="reset")
    tempobj.disabled=true;
    }}}

    Any help would be much appreciated.

    Regards,

    Daz

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •