• Closed by: Marek
  • Closed on: 18.01.19, 16:03
  • Reason: Closed
  • Comment: Glad to help!

Ticket #13450 - IE11

On www.solopiante.it with IE11 I have an error: jQuery is not defined. Is it possible to fix it?

Thanks,
Jacopo

Comments

Marek 02 Jan 2019, 12:02

Hi.
The issue should be fixed now. Try to clear cache in your back office

KeepUP snc di Landini Sara e C 02 Jan 2019, 13:50

I try to clear cache and make an operation on IE11 but I’ve same error. With git I don’t see anything changed on files.
Can you say me what you have done?

Thanks,
Jacopo

Marek 02 Jan 2019, 14:17

Seems I have no permissions to write files. Download attached file and put it into the folder “/themes/venedor/assets/js”

KeepUP snc di Landini Sara e C 02 Jan 2019, 14:35

I replace the file but not work. If I click on “add to cart” button go to cart page without any product inside.

Thanks,
Jacopo

Marek 02 Jan 2019, 15:07

please give me permissions to update files in the theme folder

KeepUP snc di Landini Sara e C 03 Jan 2019, 10:33

Latest fix block the website, I’d prefer that you attach me the new file and I provide to make changes.

Thanks,
Jacopo

Marek 03 Jan 2019, 11:12

I already attached you fixed file, it works on my localhost.

KeepUP snc di Landini Sara e C 04 Jan 2019, 16:30

Attached file broke every browser. With this chrome/firefox and others stop to work because there is an error.
If you try to run on chrome developer tools inside the website you see: Uncaught SyntaxError: Unexpected end of input

Thanks,
Jacopo

Marek 04 Jan 2019, 16:36

Please test out our demo https://venedor3.promokit.eu there is the same file used

KeepUP snc di Landini Sara e C 04 Jan 2019, 18:11

I get the file from website and now work correctly.
Another things I see CSS problem, for example into category page. Exist a fix for this?

Marek 05 Jan 2019, 11:31

What is the problem? please take a screenshot

KeepUP snc di Landini Sara e C 05 Jan 2019, 12:16

I attach a screenshot

Marek 06 Jan 2019, 11:23

Sorry, but I don’t see it

KeepUP snc di Landini Sara e C 14 Jan 2019, 12:08

This:
https://postimg.cc/ZWZHswMH

Thanks,
Jacopo

Marek 14 Jan 2019, 13:40

I’m not able to edit theme files to make a fix

KeepUP snc di Landini Sara e C 14 Jan 2019, 14:04

Please send me the changes and I provide to make in production

Marek 15 Jan 2019, 13:19

Try following CSS:

.ie11 div#js-product-list>.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between
        
}
.ie11 div#js-product-list>.products>article {
    width:32%;
}

and this bit of JS, put it into the very end of theme.js file

$(document).ready(function(){
var isIE11 = !!window.MSInputMethodContext && !!document.documentMode;
  if (isIE11) {
    $('body').addClass('ie11');
  }
});
KeepUP snc di Landini Sara e C 15 Jan 2019, 16:47

I’ve applied the patch but the bug remain. (I try to set !important on all properties but remain the same)

Marek 16 Jan 2019, 10:27

Do no forget about css/js cache

KeepUP snc di Landini Sara e C 16 Jan 2019, 14:28

Yes, I’ve cleared it. Don’t you see ie11 as class of body?

Marek 16 Jan 2019, 15:01

I have no idea what’s wrong, that code works fine in our demo https://venedor3.promokit.eu/en/16-computers

KeepUP snc di Landini Sara e C 18 Jan 2019, 15:08

Fixed!
Is a JS problem, i’ve update it