Not working when using start/ending times and days at the same time

WPPizza – A Restaurant Plugin for WordPress Support Add-Ons Extensions Timed Menu Support Not working when using start/ending times and days at the same time

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #25359
    Dallas
    Participant

      Hey Olly,

      So, my client wants the store to close at 2am on Fridays and Saturdays, but on those days he wants to end ordering pasta and soup at 9pm. Luckily, those are their own pages so, I went into the add on and selected both of the pages. I then inserted 21.00 in the end time slot. Finally, I selected Fri and Sat and checked on. When I saved changes I noticed that the pasta page and soups page were missing. By the way, it was a Wed when I was doing testing. I thought this was really weird. It was almost like you can’t do both at the same time.

      In order to make my client semi-happy for a bit, I decided to uncheck Fri and Sat to see what happened. It worked in way… So, now at 9pm those pages are completely missing every night. I only want this to happen on Fridays and Saturdays, but for some reason it’s not.

      I hope all this makes sense! Let me know what you think the problem is. Thanks for your help!

      #25360
      Olly
      Admin & Mod

        can’t really say much without actually seeing the settings …..

        #25361
        Dallas
        Participant
          This reply has been marked as private.
          #25376
          Olly
          Admin & Mod
            This reply has been marked as private.
            #25422
            Olly
            Admin & Mod

              hang on a minute.
              are you not doing the exact opposite of what you are trying to do ?

              times , dates etc are the times/dates when it’s on/available (see howto in the plugin)

              so if you check Fri/Sat it will only be available Fri/Sat. So , yes, when you do this and you look on a wednesday, it wont be there…as is expected behaviour

              in other words, you set the times/dates when it’s supposed to be shown, not when it’s supposed to be hidden

              #25423
              Olly
              Admin & Mod

                Note to self:
                Maybe a checkbox in each setting that allows to simply invert this might be a good idea for an update…will make a note of that

                #25450
                Dallas
                Participant
                  This reply has been marked as private.
                  #25458
                  Olly
                  Admin & Mod

                    > I guess there’s no quick fix?
                    why wouldn’t there be ? just make 2 options /entries for this
                    one with sun to thu (check all, without times) and another with fri/sat with your times. No ?

                    #25459
                    Olly
                    Admin & Mod

                      on second thoughts, let me check if this would work actually as i am not sure at the moment whether being hidden or being not hidden would have priority in this sort of setup when one does different things for the same item essentially ….
                      will have to get back to you on that one

                      #25460
                      Olly
                      Admin & Mod

                        so, after a bit of messing around with things to see what happens, the above suggestion seems to work just fine

                        #25461
                        Olly
                        Admin & Mod

                          must admit, it’s too long ago that i coded this to remember if this behaviour was intentional or not – though it might well have been…..

                          Suffice to say, this seems to solve your issue from what i can see I would think (?).

                          (Not withstanding the idea of an “invert” button/checkbox or something though. Certainly something worth adding in the not too distant future)

                        Viewing 11 posts - 1 through 11 (of 11 total)
                        • The topic ‘Not working when using start/ending times and days at the same time’ is closed to new replies.