WPPizza – A Restaurant Plugin for WordPress › Support › Add-Ons › Extensions › Preorder › Support › Previous/Next Month Buttons disapear
- AuthorPosts
- 29 January, 2021 at 3:23 pm #53711
Hello Oli it’s me again :D, through out the day the buttons to go to the Previous/Next Month and the House just disapeard for any reason. After looking in the page code i saw that the Buttons have Hardcoded
<button type="button" class="xdsoft_next" style="visibility: hidden;"></button>
“visibilty: hidden;” Why that? People can preorder 10 days ahead. So there should be no reason to disable the function so change months.29 January, 2021 at 4:16 pm #53713>House just disapeard for any reason.
i can see the “house” and and next/prev month just fine on your site> i saw that the Buttons have Hardcoded “visibilty: hidden;”
no, they don’t29 January, 2021 at 4:58 pm #53714furthermore, you are saying you’ve set it to 10 days ahead, but i can in fact select 17 days ahead (14th feb) when i look at your site … so something is not right here ?!
29 January, 2021 at 7:37 pm #53716Yes you can see it now because I done it with css to show it again, but if you inspect the buttons you can see they have visibility:Hidden hardcoded, idk why. Well the 10 days are right as we are closed on the weekends and the 14.02 are we open because of Valentine’s Day.
1 February, 2021 at 8:59 am #53743Update: Just saw that we let people preorder 16 days ahead. Still the bug with the visibility:hidden thing is still there.
1 February, 2021 at 5:49 pm #53753> you can see they have visibility:Hidden hardcoded
sorry, but it’s just not true. that’s done/added dynamically by js
so of course the element inspector will show thisas you have seemingly different settings now, show me a screenshot of your settings (general opening times as well as perorder plugin option settinsg) and i’ll see what happens here first of all as this all works just fine from what i can see
2 February, 2021 at 12:03 pm #53813This reply has been marked as private.2 February, 2021 at 12:39 pm #53846its the opening times i need too please
i.e
/wp-admin/edit.php?post_type=wppizza&page=openingtimesthanks
2 February, 2021 at 12:40 pm #53847comming just a sec!
2 February, 2021 at 12:42 pm #53848This reply has been marked as private.2 February, 2021 at 12:45 pm #53849thanks
will see what i can reproduce here and get back to you2 February, 2021 at 1:59 pm #53853So the good thing is, i can reproduce this now. This happens only when all following days from today in a given month are closed. as you are closed on sat’s and sun’s , when going to your site on the 30th of Jan – a Saturday – you were closed for the rest of the month so no timeslot available for january at all. Same is going to happen on the 27th Feb (again, a Sat), but I would very much think this will be fixed well before that . (also has something to do with showing “asap” instead of timeslot for first available , but i’ll spare you the details )
PS / for your info: it is however completely intentional that those buttons also do not show up if there are no dates/times available in the following month. i.e if you have preorders for only 10 days now on the 2nd of Feb, they are NOT going to show up by design as there wont be anything to select in March of course
2 February, 2021 at 2:06 pm #53854Good to know! I understand that the buttons should not appear if for march (or any other month) there are no dates. It was just strange that they disappear even if there was dates to order. But its good that you found the problem, Thanks!
2 February, 2021 at 2:10 pm #53855> It was just strange that they disappear even if there was dates to order.
absolutely.
will be fixed - AuthorPosts
- The topic ‘Previous/Next Month Buttons disapear’ is closed to new replies.