Hi!
I have a webshop on cocktailvision.dk, and the shop is working fine in all browsers i have tested (Chrome. Safari, Firefox etc.)
except for IE (so far i have tried version 11). The problem is that when a user tries to checkout, and types in delivery-information (address, phone number, email and more)
then IE is not saving the information when save/continue button is pressed.
I know that IE is outdated, a bad browser etc. But can somebody help me fixing this issue?
You can maybe try to add a product and checkout on cocktailvision.dk in IE to see what the issues is all about.
Here is a screenshot of the source-code of what might be the problem (http://tinypic.com/view.php?pic=30avn6t&s=8#.VfB_vc5k-QQ)
Software:
Joomla 2.5.28
Virtuemart 2.6.18
Thanks,
Mike
hi im on the same virtue mart version as you and i have the same problems, IE seems to be a no go but iv also got issues with other browsers, safari, Firefox, chrome etc, some work some don't, resulting in us losing customers. did you find a solution for this
Quote from: Mike1989 on September 09, 2015, 20:52:55 PM
Hi!
I know that IE is outdated, a bad browser etc. But can somebody help me fixing this issue?
You can maybe try to add a product and checkout on cocktailvision.dk in IE to see what the issues is all about.
Here is a screenshot of the source-code of what might be the problem (http://tinypic.com/view.php?pic=30avn6t&s=8#.VfB_vc5k-QQ)
on my site I have only two 'custom templates'
template/<my template>/html/com_virtuemart/user.php and edit_address.php
that contains this code :
<script language="javascript">
function myValidator(f, t)
{
f.task.value=t;
if (document.formvalidator.isValid(f))...
and it is true, that there is no defensive code to check if this f (form?) object contains a 'task' property.
But sound that this is not a virtuemart bug per se, as this are customised template.
You'll need to check if the regular (default) virtuemart template contains the same 'not safe' code.
EDIT : in i'm in the process of upgrading my VM site from 2.6 to 3.0.10,
I made the check on the current code and I can confirm you that
the same kind of javascript validator is called :
onclick="javascript:return myValidator(userForm, false);...
however its seems legit as the form (as documented for once) assure you that there is always
a 'task' entry into the 'cart/OPC' form.
e.g
<input type="hidden" name="task" value="saveUser"/>
for my edit_user.
So I would suggest you check your template (and as you picture show some king of captcha validation, determine
that in this context your form (passed as parameter f), contains a 'task' entry.
note : this is had nothing to do with IE11 which is far more compliant than its predecessors
and nowadays hard to point to as the culprit.
onclick="javascript:return myValidator(userForm, false);
Very good and nice answer Whisky