VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Sandruk1 on August 03, 2019, 15:08:37 PM

Title: Opera for Android 53 and Opera Mini started blocking the addtocart button
Post by: Sandruk1 on August 03, 2019, 15:08:37 PM
Hi!
Opera for Android 53 and Opera Mini started blocking the add to cart button as advertising.
Example: http://demo.virtuemart.net/zipper-pullover-detail , button addtocart is blocked and not displayed from mobile if you use(Opera for Android 53 or Opera Mini).

Does anyone have such a problem,
have myself tested for Joomla 3.9.10 , virtuemart.3.5.0.10098 php 7.3.

Best regards, Sandruk
Title: Re: Opera for Android 53 and Opera Mini started blocking the addtocart button
Post by: jjk on August 03, 2019, 16:25:06 PM
I don't use Opera. However, it sounds like an Opera ad blocker issue. Search for example for words like 'Opera blocks submit button' in Google. Some possible solutions should show up.
Title: Re: Opera for Android 53 and Opera Mini started blocking the addtocart button
Post by: Ventsi Genchev on August 04, 2019, 09:20:11 AM
Apparently Opera developers have overdone themselves with ad blocking.
PrestaShop also has problems with Opera, while Opencart and Magento does not.

As of July 2019, 2.85% of people use Opera Mobile.
So the question is rather whether we should lose these people or whether it is better to study where the problem comes from.

Yes, I know that everything works fine if you disable ad blocking with the button. But will the buyer remember to do this or will they just close the window with the site?

So I think Sandruk1 is right. It doesn't matter which developer what mobile browser he uses. It is important that everything works properly. After other platforms do not have this problem.
Title: Re: Opera for Android 53 and Opera Mini started blocking the addtocart button
Post by: jjk on August 04, 2019, 13:42:42 PM
Perhaps it's due to Opera's 'Mini Mode', which gives javascript only a 2 second time frame to load and ignores everything send to the browser later. Maybe try to run it in turbo or uncompressed mode?
Title: Re: Opera for Android 53 and Opera Mini started blocking the addtocart button
Post by: Ventsi Genchev on August 06, 2019, 16:08:41 PM
No, this is not a frame, because the button itself and the quantity are missing.
The frame loads after pressing the button. But the button is missing.  :)
Title: Re: Opera for Android 53 and Opera Mini started blocking the addtocart button
Post by: jjk on August 06, 2019, 21:09:04 PM
Quote from: Ventsi Genchev on August 06, 2019, 16:08:41 PM
No, this is not a frame, ...
I didn't mean an html frame, but a two seconds long time limit. Opera Mini executes scripts for about 2 seconds, then stops and delivers the page. So maybe a workaround might be to disable 'Use ajax for product content' in the VM configuration > Templates tab.
Title: Re: Opera for Android 53 and Opera Mini started blocking the addtocart button
Post by: Ventsi Genchev on August 07, 2019, 09:20:58 AM
Quote from: jjk on August 06, 2019, 21:09:04 PM
So maybe a workaround might be to disable 'Use ajax for product content' in the VM configuration > Templates tab.

No, that doesn't help. No effect.