WPPizza – A Restaurant Plugin for WordPress › Support › General Support › link/button and mobile touch behavior
- AuthorPosts
- 2 February, 2015 at 11:38 am #7522
Hello,
i’m creating a “webapp” (http://www.pizzeriagrottaazzurra.it/mob/) and there’s an issue while scrolling the menu list on mobile devices.What happens is that while scrolling the page (with the menu list/items) if i accidentally hit the Price/Add to cart button, it add the item to the basket (or opens the popup window: we’re closed).
i’ve tried various “touch” plugins (including WPtouch mobile plugin) and scripts but i’m not able to making it work.
Any hints on this?
thanks2 February, 2015 at 11:38 am #7524what device are you using ?
2 February, 2015 at 8:44 pm #7535hi,
sorry for late answer (didn’t receive any email notification).
iphone 5 iOS 8.1.2.
thanks
lukas2 February, 2015 at 11:07 pm #7537>sorry for late answer
no problem>didn’t receive any email notification
went to junk perhaps (?)>iphone 5 iOS 8.1.2.
yeah , i figured. I believe this is only an iStuff issue…I do not own – and am not planning to own – any iThing. (not a big fan of those for various reasons)
However, I do realise of course that I cannot just ignore them so need a bit of help from iStuff users – that would be you in this case – to double check some things.
Without further ado therefore, do me a favour:
update wppizza to the latest version (this is now v.2.11.7.6).
go to wppizza->settings
under “Miscellaneous” you will find “experimental JavaScript”.
please enable this (and save) and let me know if this now behaves / works (or is at least better)thanks, any feedback would be great on this particular chestnut
3 February, 2015 at 1:44 pm #7563>didn’t receive any email notification
went to junk perhaps (?)nope, i was sure i selected the Notify checkbox before (but maybe i didn’t!), anyway now it works.
>iphone 5 iOS 8.1.2.
yeah , i figured. I believe this is only an iStuff issue…well, ok that some good news, haven’t tested the site on any other mobile device, will do.
>However, I do realise of course that I cannot just ignore them so need a bit of help from iStuff users – that would be you in this case – to double check some things.
yes of course, i’d be glad to help you sort it out.
Without further ado therefore, do me a favour:
>update wppizza to the latest version (this is now v.2.11.7.6).
ok, done.
>go to wppizza->settings
under “Miscellaneous” you will find “experimental JavaScript”.
please enable this (and save) and let me know if this now behaves / works (or is at least better).ok, done. but no, can’t notice any changes.
thank you, for a very nice plugin.
lukas3 February, 2015 at 2:59 pm #7566it appears chrome does a decent job of emulating iThings.
how comfortable are you with overwriting files or even editing them ? (would just save me from adding new versions to the WP repository all the time until this works)3 February, 2015 at 3:05 pm #7567no problem!
3 February, 2015 at 3:29 pm #7568..and yes, the google chrome device simulator seems to display things identically.
and the touch screen emulation seems to work fine too.3 February, 2015 at 4:00 pm #7569yup same here (and causes the same issue, so that’s good in this case)
problem is – in case you care – that iOS doesn’t understand the click event on divs/spans etc (i.e non-inputs/a tags) so I’m using touchstart.
unfortunately, touchstart also fires when scrolling (which is just plain annoying…..)have been trying for ages to get around that one, but no luck. so if you come across something in your travels, let me know
3 February, 2015 at 4:25 pm #7570I might have just stumbled across something…
could you do/try the following :
make a backup of
wppizza/js/scripts.exp.min.js
and
wppizza/js/scripts.min.jsdownload 2 new versions here (there are – eventually – better ways to do this, but i just need to know that this is working)
https://www.wp-pizza.com/wp-content/uploads/custom/scripts.exp.min.js
https://www.wp-pizza.com/wp-content/uploads/custom/scripts.min.jsand overwrite the old ones
reload/refresh your browser / page and let me know if this changes things perhaps ..?!
(and make sure you can still proceed with orders, putting things in cart etc)3 February, 2015 at 4:36 pm #7571oh, it will probably not let you select individual things in the add ingredients extension (once it’s open for selection) – i will have to change some bits there – but if it stops items being added to the cart when scrolling as well as adding them to the cart (and at least opening the add ingredients thing) we are half way there.
that is to say , if this works, re use your backed up files and i will update things in all required places and make updates available
thanks
PS: and if you should have some other iThings lying around , maybe a quick check there too (although i can ask some people i know that have iPhone 4 and iPads to check i needs be)
3 February, 2015 at 5:00 pm #7573seems like you solved it!
and the add ingredients module’s working fine too for me (no problem adding extra ingredients, works also with the chrome device emulator).
cool!waiting for the update then!
great!
thanksps. nope, just an iphone here!
3 February, 2015 at 5:07 pm #7574excellent stuff .
might take a day or two for an update (as other plugins rely on this clickevent too and i just want to make sure it doesnt break things for those – should be doable though)3 February, 2015 at 5:08 pm #7575thanks for being a guinea pig
3 February, 2015 at 5:34 pm #7576🙂 no problem, you’re welcome.
thanks again for very good plugin and support.4 February, 2015 at 11:35 am #7581as of 2.11.7.7 this should now be fine , but let me know if you experience issues of course
4 February, 2015 at 1:43 pm #7585great!
thanks - AuthorPosts
- The topic ‘link/button and mobile touch behavior’ is closed to new replies.