WPPizza – A Restaurant Plugin for WordPress › Support › General Support › preorder – select time only, without the date
- AuthorPosts
- 27 June, 2017 at 3:45 pm #28658
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?
27 June, 2017 at 4:08 pm #28659sorry: DISPLAY HOURS ONLY – NOT TO DISPLAY THE HOURS WITH MONTH, DAY, YEAR
27 June, 2017 at 4:11 pm #28660To achieve sth like this (photoshoped 😛 )
27 June, 2017 at 4:20 pm #28661If 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.
28 June, 2017 at 3:40 pm #28674sorry, 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)
28 June, 2017 at 3:51 pm #28675>> 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?
28 June, 2017 at 4:13 pm #28676>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 pluginwppizza_po_filter_values
you could probably make this (and every other option of the plugin) conditional depending on your requirements
28 June, 2017 at 4:14 pm #28677full filter looks like this.
$optValues = apply_filters( 'wppizza_po_filter_values', $optValues, $currentTime );
(parameters should be self-explanatory)
- AuthorPosts
- The topic ‘preorder – select time only, without the date’ is closed to new replies.