VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Iryn3l on September 21, 2020, 15:43:38 PM

Title: lite mode on mobile
Post by: Iryn3l on September 21, 2020, 15:43:38 PM
How long have I been facing the following problem:
Many of those who access my site have chrome enabled lite mode on their mobile .
When they try to add the product in the cart to the site, the site crashes and they can't complete the shopping, they just can't do anything.
Can you help me?
My website www.*****
Title: Re: lite mode on mobile
Post by: Jörgen on September 21, 2020, 15:51:41 PM
Mayby inactivate jchoptimize ?

Jörgen
Title: Re: lite mode on mobile
Post by: jenkinhill on September 21, 2020, 16:28:22 PM
On Firefox & Chrome the browser console shows JavaScript errors.
Title: Re: lite mode on mobile
Post by: Iryn3l on September 21, 2020, 16:47:46 PM
I disabled JCH Optimize Pro
Title: Re: lite mode on mobile
Post by: pinochico on September 21, 2020, 16:50:00 PM
QuoteWhen they try to add the product in the cart to the site, the site crashes and they can't complete the shopping, they just can't do anything.
Can you help me?

Ask your developer, he must fix some JS errors in template.

Next: URL your eshop is only one info from a lot of - Joomla version, VM version....
Title: Re: lite mode on mobile
Post by: Iryn3l on September 21, 2020, 17:01:22 PM
I think you mean the theme developer? because from what you understand the developer of the current theme is me (this being largely modified)
these are s**t
What a stupid thing I did to use a theme from them, I thought everything would be fine with how the theme was presented


and from this
Next: URL your eshop is only one info from a lot of - Joomla version, VM version....
I do not understand anything
Title: Re: lite mode on mobile
Post by: jjk on September 21, 2020, 19:37:20 PM
I guess it's Google filtering out required elements on the page. See https://www.google.com/chrome/privacy/whitepaper.html#datacompression and search for the 'Lite Mode' paragraph.

Concerning javascript errors on your site, I suggest that you use for example the 'Web Developer Tool' > 'Console' tab in the Firefox browser while looking at your shop. It will show you some errors you can try to solve.
Title: Re: lite mode on mobile
Post by: pinochico on September 21, 2020, 22:06:54 PM
QuoteNext: URL your eshop is only one info from a lot of - Joomla version, VM version....

sure, if you don't understand, then you don't send info about your Joomla version, VM version.
Only send URL of your eshop.

Next time, pls send more info...

So now if you as developer, then you must optimalizing self - first use solution solution from JJK.
Title: Re: lite mode on mobile
Post by: Iryn3l on September 22, 2020, 09:49:54 AM
yes,  I apologize
Joomla! 3.9.20 Stable
VirtueMart 3.8.4 10335
PHP 7.3.22
Title: Re: lite mode on mobile
Post by: Studio 42 on September 22, 2020, 14:19:20 PM
The fist problem is missing file : https://www.xmed.ro/templates/impulsashop/js/jquery-ui.min.js
Simply copy it in this folder should solve 2 errors.
Title: Re: lite mode on mobile
Post by: Iryn3l on September 22, 2020, 15:43:00 PM
the file is not missing, it is not loaded on the mobile when lite mode is activated in chrome
Title: Re: lite mode on mobile
Post by: Studio 42 on September 22, 2020, 16:58:50 PM
Quote from: Iryn3l on September 22, 2020, 15:43:00 PM
the file is not missing, it is not loaded on the mobile when lite mode is activated in chrome
It's not loaded on desktop! Verify if the file exist
Title: Re: lite mode on mobile
Post by: pinochico on September 22, 2020, 18:35:37 PM
Sure this problem related with VirtueMart?

I think no....

Pls learn basic documentation about joomla and consulting with your template developer, I think this way is better for your problem, what do you think?
Title: Re: lite mode on mobile
Post by: Iryn3l on September 23, 2020, 14:19:45 PM

pinochico.. I think you answered me a little mischievously every time ...
I'm sorry to say this, but it seems you didn't take my problem seriously
I solved it, the problem was System - GZIP enabled
Title: Re: lite mode on mobile
Post by: jenkinhill on September 23, 2020, 16:57:08 PM
Not a VirtueMart problem, then.Good to know it is solved.
Title: Re: lite mode on mobile
Post by: pinochico on September 23, 2020, 23:13:04 PM
to Iryn3l:

Nothing personal, I take your problem seriously if will Virtuemart problem.
Title: Re: lite mode on mobile
Post by: Iryn3l on September 24, 2020, 10:27:35 AM
I thought it was a VM problem, that's why I asked here.
Thanks anyway