The subject says it all :) Change payment method is not working in Internet Explorer (ver. 11) after upgrade to VM 3.8.2. It flickers and then returns to the previous state/selection (that was on load of the cart view).
I know Internet Explorer is horrible, not supported and dead - but 7,8 % of my customers users use it due to some government regulation.
If this only happens with ie, then it is probably a Lost case.
Jörgen @ Kreativ Fotografi
True (and rightfully so). I just wonder why it has worked until the newest release of Virtuemart? What and why was it changed... and could that part work with the old working code?
I just tested and selection on delivery or payment methods fails to hold selection using IE 11
That is a bug as it used to function on 3.6 the JS has changed in 3.8.3 - there is no reason for it not to work!
That is done without js. Disable the ajax for the cart, maybe.
This has been fixed for ie11 in VM
You mean fixed by disabling AJAX for the cart?
What implications (downsides) does that have?
Disabling AJAX is not neccessary any more. Max has made a bug fix for this in the next release.
Jörgen @ Kreativ Fotografi
Perfect - when will this be released?
Thomas
This is the proposed fix:
Components/comvirtuemart/views/cart/
view.html.phpAround line 542, change the javascript to what is shown below
Quote
jQuery(document).ready(function(){
var chkOutBtn = jQuery("#checkoutFormSubmit");
var form = jQuery("#checkoutForm");
jQuery("#checkoutForm").find(":radio, :checkbox").bind("change", Virtuemart.autocheck);
// jQuery(".output-shipto").find("input").unbind("change", Virtuemart.autocheck);
jQuery ("input[type=radio][name=shipto]").unbind("change", Virtuemart.autocheck);
jQuery ("input[type=radio][name=virtuemart_paymentmethod_id]").unbind("change", Virtuemart.autocheck);
jQuery ("input[type=radio][name=virtuemart_shipmentmethod_id]").unbind("change", Virtuemart.autocheck);
jQuery(".output-shipto").find(":radio").bind("change", function(){
chkOutBtn.attr("task","checkout");
'.$updF.'
form.submit();
});
Confirmed. Seems to work. Thanks
Actually, it was Andrew who found the fix.
Thomas
this is what will probably be released to live
Quote
jQuery(document).ready(function($){
var chkOutBtn = jQuery("#checkoutFormSubmit");
var form = jQuery("#checkoutForm");
$("#checkoutForm").find(":radio, :checkbox").bind("change", Virtuemart.autocheck);
$ ("input[type=radio][name=shipto]").unbind("change", Virtuemart.autocheck);
$ ("input[type=radio][name=virtuemart_paymentmethod_id]").unbind("change", Virtuemart.autocheck);
$ ("input[type=radio][name=virtuemart_shipmentmethod_id]").unbind("change", Virtuemart.autocheck);
$ ("input[type=radio][name=shipto]").bind("change", function(){
chkOutBtn.attr("task","checkout");
'.$updF.'
form.submit();
});
});';