WPPizza – A Restaurant Plugin for WordPress › Support › General Support › Preoder – Timetable/ timepicker not showing up
- AuthorPosts
- 28 October, 2014 at 8:05 pm #5889
Hi Olly!
First of all, thank you very much for such a great piece of work! I’ve ordered two extensions already and it keeps working great. Also, your support here seems to be awesome.
However, just having a little issue here with the preorder extension. It’s always showing “When would you like to order for?” textfield but with no calendar – timepicker – timetable under it.
Is there I’m missing something? What can I check to make sure I’m putting the right settings for this?
Thank you!
28 October, 2014 at 8:06 pm #5891do you have a link i can check ?
5 November, 2014 at 6:42 pm #6009This reply has been marked as private.5 November, 2014 at 7:05 pm #6010you have a javascript error on that page
Uncaught TypeError: Cannot read property ‘offsetWidth’ of null which stops the execution of any other js dead
from what i can ascertain, that’s thrown by
http://maps.gstatic.com/maps-api-v3/api/js/18/14/main.js
which is being called from
//maps.googleapis.com/maps/api/js?sensor=false&ver=3.9.2in short though , i hazard a guess the error comes from the script looking for a google map that does not exist on that page
so don’t load the script when there’s no map (or of course just put a map on there)
if it’s part of the theme you are using in some way, then tell the theme developers to not load the script when there’s no map (assuming my assumptions above are correct)
additionally , there seems to be a lot of js minification going on which might – or might not – be the cause of the troubles
for starters, if possible in your theme, i would try to turn this minification off and see what happens without it or move the
//maps.googleapis.com/maps/api/js?sensor=false&ver=3.9.2
script to the very bottom after everything else (so the error gets thrown after everything else had a chance to do it’s thing)
5 November, 2014 at 7:11 pm #6011Thank you Olly! Really appreciate the time you are taking to check the issue. I’ll let you know how it works out.
- AuthorPosts
- The topic ‘Preoder – Timetable/ timepicker not showing up’ is closed to new replies.