- This topic has 10 replies, 5 voices, and was last updated 5 years, 4 months ago by
Tom.
-
AuthorPosts
-
June 4, 2020 at 10:17 pm #1315034
Julian
Hello,
I have an online shop built with GeneratePress and WooCommerce: https://kohlburg.deI noticed a big Problem:
If I visit a product (e.g. https://www.kohlburg.de/produkt/kettenschloss-amsterdam/) with a mobile device (e.g. iPhone XR) I need to click the “Add to Cart” button twice (“In den Warenkorb”).Nothing happens after the first click.
The problem doesn’t show up in responsive mode in Chrome – it only happens on real mobile devices.
I already deactivated all the plugins one by one. No success.
Caching is deactivated for now.Thanks in advance for your help and thanks for the great Theme!
Julian
June 5, 2020 at 12:40 am #1315093Julian
Ok, I guess I found a solution:
This is the issue and solution for me: https://stackoverflow.com/questions/3038898/ipad-iphone-hover-problem-causes-the-user-to-double-click-a-link#answer-42373190
I used GP Elements and added this to the footer @ Single Product:
<script> jQuery(document).ready(function( $ ) { $('.single_add_to_cart_button').on('touchend', function() { $(this).click(); }); }); </script>June 5, 2020 at 4:10 am #1315326David
StaffCustomer SupportHi there,
thanks for sharing a solution
This has never come up before – so we’ll take a look to see whats going on.June 5, 2020 at 9:54 am #1315877Tom
Lead DeveloperLead DeveloperStrange, does the same thing happen to you on one of our WC sites?: https://gpsites.co/merch
June 5, 2020 at 11:13 am #1315965Julian
I just tried: No problem on merch. I think it’s not an GP specific problem.
June 5, 2020 at 7:55 pm #1316331Tom
Lead DeveloperLead DeveloperThanks for letting us know – we’ll keep an eye out for it.
November 23, 2020 at 8:51 am #1542666Jenny
Hi there
Have you found a solution to this? I have the same issue. On mobile you need to click the add to cart button twice. It happens on both my GP sites.
ThanksNovember 23, 2020 at 11:49 am #1542918Leo
StaffCustomer SupportI think we determined that it’s not a GP specific problem.
Does the issue occur if you disable all plugins except GP Premium and WooCommerce?
Can you test if you experience the issue in our default Seller install here?
http://gpsites.co/seller/Let me know 🙂
November 23, 2020 at 12:11 pm #1542964Jenny
Hi Leo
I have tested on your test site and I have the same issue. On the SINGLE product page I have to double click to add to cart when using my mobile phone.
I am on safari
Thanks
JennyNovember 24, 2020 at 1:19 pm #1545088Leo
StaffCustomer SupportI was able to replicate this as well and we will take a closer look and report back.
Thanks!
November 24, 2020 at 1:23 pm #1545093Tom
Lead DeveloperLead DeveloperHi there,
We’ll dig into this and get it fixed in the next version.
For now, this solution should help: https://generatepress.com/forums/topic/gp-woocommerce-must-click-add-to-cart-twice-on-mobile/#post-1315093
Let us know 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.