VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: vanhami on March 26, 2013, 21:52:12 PM

Title: Bug with IE and shopping cart
Post by: vanhami on March 26, 2013, 21:52:12 PM
My webshop does not add products to shopping cart with Internet Explorer, but it seems to work with all other borwsers.  My template provider found a reason for it. Here is answer below. Is there something that somebody can do? 


"The problem why the add-to-cart button not works in IE9 is related to your domain which contains an umlaut. The Add-To-Cart action (and some others) do Ajax-Requetes. This requests have to go to the same domain than the domain that is actually in your browsers address-bar. And here comes the problem:

In the browser adress bar the domain is: http://www.lämmitin.fi
But in the sourcecode (used for ajax-requests) of your website the domain is: http://www.xn--lmmitin-5wa.fi

Internet-Explorer blocks the AJAX-Requests cause it misinterprets them as two different domains."
Title: Re: Bug with IE and shopping cart
Post by: jenkinhill on March 26, 2013, 23:25:25 PM
Tested with IE10 and could add a product to the cart, but on every page IE gives a popup warning message.

[attachment cleanup by admin]
Title: Re: Bug with IE and shopping cart
Post by: vanhami on March 27, 2013, 08:40:44 AM
Good to hear that it is working with IE10. I have no possibilities to test with that. This shopping cart problem is still quite urgent fir us. quite many peoples are using IE 9
Title: Re: Bug with IE and shopping cart
Post by: jenkinhill on March 27, 2013, 10:41:52 AM
I guess you will need to ask MicroSoft about the issue as the characters in your domain seem to be the problem and even pages on your site that have no VirtueMart content also throw up the warning message, which can be solved locally by adding Finnish (FI) to IE's language settings. The site then works properly for me.

Some info for old versions here: http://windows.microsoft.com/en-gb/windows-vista/change-your-internet-explorer-language-settings