Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • lj 81 posts 425 karma points
    Jan 13, 2014 @ 15:22
    lj
    0

    internet explorer (11) adding product twice.

    UPDATE: SOLVED - nothing to do with ucommerce javascript bug on my behalf.

     

    I have set up ucommrce and it behaves as expected when using firefox. however when used with internet explorer when user adds product it is getting added twice.

    code i use is from the razor demo site the produt page submits form to basket then in basket the following code runs.

    uCommerce.Functions.Basket.AddToBasket(Convert.ToInt32(quantity), product);

    which calls this function

    public static bool AddToBasket(int quantity, UCommerce.EntitiesV2.Product product)
        {       
            TransactionLibrary.AddToBasket(quantity, product.Sku);
            TransactionLibrary.ExecuteBasketPipeline();

            return true;
        }

     

    problem is when I submit product to basket from IE and run in debug mode when the code gets to TransactionLibrary.AddToBasket(quantity, product.Sku); it seems to make a new request back to the basket again. This does not happen in any other browser.

     

    Has anyone had any similar issues.

    Update: I had a look at uCommerce_OrderLine and what is happening is two seperate lines with same orderid are being added for the one product. Strangely if I add the same product again from front end it is updating the total of the first entry and not adding a new line which is correct behaviour.

  • Morten Skjoldager 440 posts 1499 karma points
    Jan 15, 2014 @ 13:10
    Morten Skjoldager
    100

    According to the first sentence i assume this is fixed for you :) 

    Can you mark it as solved please. 

    Regards

    Morten

Please Sign in or register to post replies

Write your reply to:

Draft