Previous/Next Month Buttons disapear

WPPizza – A Restaurant Plugin for WordPress Support Add-Ons Extensions Preorder Support Previous/Next Month Buttons disapear

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #53711
    filipemartins
    Participant

      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.

      #53713
      Olly
      Admin & Mod

        >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’t

        #53714
        Olly
        Admin & Mod

          furthermore, 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 ?!

          #53716
          filipemartins
          Participant

            Yes 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.

            #53743
            filipemartins
            Participant

              Update: Just saw that we let people preorder 16 days ahead. Still the bug with the visibility:hidden thing is still there.

              #53753
              Olly
              Admin & Mod

                > 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 this

                as 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

                #53813
                filipemartins
                Participant
                  This reply has been marked as private.
                  #53846
                  Olly
                  Admin & Mod

                    its the opening times i need too please
                    i.e
                    /wp-admin/edit.php?post_type=wppizza&page=openingtimes

                    thanks

                    #53847
                    filipemartins
                    Participant

                      comming just a sec!

                      #53848
                      filipemartins
                      Participant
                        This reply has been marked as private.
                        #53849
                        Olly
                        Admin & Mod

                          thanks
                          will see what i can reproduce here and get back to you

                          #53853
                          Olly
                          Admin & Mod

                            So 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

                            #53854
                            filipemartins
                            Participant

                              Good 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!

                              #53855
                              Olly
                              Admin & Mod

                                > It was just strange that they disappear even if there was dates to order.
                                absolutely.
                                will be fixed

                              Viewing 14 posts - 1 through 14 (of 14 total)
                              • The topic ‘Previous/Next Month Buttons disapear’ is closed to new replies.