preorder – select time only, without the date

WPPizza – A Restaurant Plugin for WordPress Support General Support preorder – select time only, without the date

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #28658
    Pawel Cichonski
    Participant

      Hello, is it possible to have in TIME SELECTION only TIME? (without the day and year)?

      In PREORDER settings, there’s option for DATE FORMAT, but all of them is with the day and date year + time. Is it possible to have HOURS only to select (as my shop makes it available to preorder during the current day) without the date and year displayed?

      a

      #28659
      Pawel Cichonski
      Participant

        sorry: DISPLAY HOURS ONLY – NOT TO DISPLAY THE HOURS WITH MONTH, DAY, YEAR

        #28660
        Pawel Cichonski
        Participant

          To achieve sth like this (photoshoped 😛 )

          a

          #28661
          Pawel Cichonski
          Participant

            If also I could kindly ask, in the options for:
            “date/time instead of default text – Shows first available date/timeslot instead of default text when no date/time has been selected yet”

            Is it possible to make the default text appear only when the shop is open, and when it’s closed / preorder it would have the first available time displayed?

            The text above the time selection can be altered depending weather the restaurant is open or not (like I have, when preorder: “This is a preorder”, when live: “Select delivery time”). But now I can have only default text or time selection regardless if the restaurant is open or not.

            That would be easier to understand when people preorder the food before the restaurant is open, they would need to select the time (and have the default text “as soon as possible”), and when it’s open to have the default.
            Would that be possible?

            Thanks for your time.

            #28674
            Olly
            Admin & Mod

              sorry, but i do not understand what you are trying to do

              taking away the date kind of defeats the point of using the plugin in the first place…
              if you just want times , why not simply use the “select” option from the “order form settings” page and add your times there ?

              (i.e as described under === NOTE === here : https://www.wp-pizza.com/downloads/wppizza-delivery-by-postcode/ using times as your comma separated list)

              #28675
              Pawel Cichonski
              Participant

                >> sorry, but i do not understand what you are trying to do

                If it were only days I would be ok with that, but months… (seriously having a “year” there?) If it’s not possible to have than let’s leave it, I thought there is an option if you only have preorders only for one day than it would change into hours only to select.

                >> why not simply use the “select” option from the “order form settings” page and add your times there ?

                Woudln’t work because people would use any time regardless of restrictions that are available in previous option (for example: to only select available time left and time that is 40 minutes ahead of delivery).

                Would the last request I wrote in this topic, could be available? Of having the default text “as soon as available” instead of hours to be visible only when the on-line shop is open and when it’s not (before we open the restaurant) then they would need to select specific time of delivery?

                #28676
                Olly
                Admin & Mod

                  >but months…seriously having a “year” there
                  one might want to preorder on the 28th of dec for the 1st of Jan…..

                  >Would the last request I wrote in this topic, could be available?
                  sorry, this is just a on/off option in the plugin. However using the following filter in the plugin

                  wppizza_po_filter_values

                  you could probably make this (and every other option of the plugin) conditional depending on your requirements

                  #28677
                  Olly
                  Admin & Mod

                    full filter looks like this.
                    $optValues = apply_filters( 'wppizza_po_filter_values', $optValues, $currentTime );

                    (parameters should be self-explanatory)

                  Viewing 8 posts - 1 through 8 (of 8 total)
                  • The topic ‘preorder – select time only, without the date’ is closed to new replies.