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.
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.
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.
According to the first sentence i assume this is fixed for you :)
Can you mark it as solved please.
Regards
Morten
is working on a reply...