News:

Support the VirtueMart project and become a member

Main Menu

iPad in Horizontal Position & Klarna iFrame

Started by betterlead, August 21, 2016, 12:02:04 PM

Previous topic - Next topic

betterlead

Hi, I have a web shop running on joomla, virtuemart and vmuikit. Shoppers visiting my site on an iPad have problem with the checkout. When an iframe loading "Klarna Checkout", with the iPad in horizontal position, the shoppers can't fill in any details asked for in the iframe.
Flipping the iPad into vertical position solves the problem, even after flipping it back to horizontal position, it mostly all works fine and shopper can proceed filling in details in the checkout.

I have been struggling with this for almost a year now, or maybe even longer, and nobody has come up with any solution. Some are blaming Apple for this and someone mentioned my theme, which is Yootheme Sixth Avenue.

So, has anybody heard of this before and even found a solution?


My site: https://livingstudio.se
Live site runs on Joomla 3.9.24 & VM 3.8.6 10373

PHP: 7.3.26

VMTemplates.net

We develop VirtueMart templates since 2008
https://www.virtuemarttemplates.net/
Join the VirtueMart Templates Club today and get an access to over 60 VirtueMart templates
https://www.virtuemarttemplates.net/template-club.html
If you need a custom VirtueMart Template design please visit https://www.virtuemarttemplates.net/custom-virtuemart-template-design.html
Visit our new shop https://demo.virtuemarttemplates.net/
Join the VirtueMart Templates Club, purchase the template or order one of our services like Hosting, Website Maintenance, Security and Optimization, Template Customization and more

betterlead

Many Thanks, I'll see if I can fix that. Would be best if it could be done with an override so I won't have to do it over and over again when updating VM.

Cheers
/Betterlead
Live site runs on Joomla 3.9.24 & VM 3.8.6 10373

PHP: 7.3.26

betterlead

So, finally, I found it out on my own. Hope this will help anyone else experiencing the same problem.

Follow these steps to solve the problem when iframes are not responding to touch on iPad in landscape mode (Klarna Checkout, Press play on YouTube clips, entering text in dialogues, press buttons etc).

As an example for the Shopping Cart / Checkout Klarna iFrame

Create a menu item (Call it as you please, "Shopping-Cart" or in Swedish "kundvagn-kassa")
Select the Menu Item Type: "Shopping Cart"
Link will by default becomes something like: index.php?option=com_virtuemart&view=cart

If you don't want the menu published anywhere on the site, on the right hand in menu editor choose a hidden menu, ghost menu or whatever you call it in your admin. (If you don't have this menu yet, google and learn how to do it. It's very simple.)
Then save. Nothing more here to do.

Now, go to Extensions -> Modules -> and find the module: "VM - Search in Shop. Click on it. Click the tab assignment. Under Menu Items, look for the menu you put the menu item you created as above and exclude it.
Save.

Now you won't have any "Search box" on the checkout page, but the problem with none clickable/editable fields when an iPad is in horizontal view, will be gone. After all, one don't really need a search feature in the checkout.

I have the "Advanced Menu Manager" plugin installed and perhaps the step for excluding a menu item from certain pages could be different without it. But it's probably possible any way.
I hope this helps. It took me 6 months before I got this through my thick skull.
Good Luck.
Live site runs on Joomla 3.9.24 & VM 3.8.6 10373

PHP: 7.3.26