Forum Replies Created
- AuthorPosts
-
Sorry, only google maps is implemented for distance based calculations
first of all, you need to make sure that your plugins / themes / wordpress are up to date as well as using a valid google maps api key
naturally, you also want to make sure all your plugins/themes are up to date
without a url i cannot say anything other than what your screenshot / google already tells you
i.e “Google maps was not loaded correctly – look at your javascrpt console”Sorry, I do not understand what you mean by “I didn’t have ‘wppizza_preorder_filter_timeslots’”
If you are running the latest version of the preorder plugin (currently 3.11) you will automatically “have it” as it’s part of the plugin which you can then use as described aboveSorry, but that’s not likely to be developed anytime soon (if ever).
Consider the following:According to WP counts , don’t think this is necessarily too accurate , but as a rough guide:
– https://wordpress.org/plugins/search/woocommerce/
5+ million installations– https://wordpress.org/plugins/search/stripe/
1+ million installations for woocommerce
(i.e 20% )– https://wordpress.org/plugins/search/sumup/
10k (generous) installations for woocommerce
(i.e 0.2% )===================
– https://wordpress.org/plugins/search/wppizza/
1,000+ active installationsSo WPPizza SumUp sales would be something around 2
I cannot see any ROI here even if I were to hike gateway prices by 100%+ and/or sales would be 10 times thatFrom past experience: I have developed several gateways for wppizza (https://www.wp-pizza.com/gateways/) . Many based on someone asking for them – just like you are .
As it turns out , the development of some of them was a complete waste of time (one person even asked for the development of one of them without ever even buying it when it was completed).So, as it stands, I cannot see myself adding any gateways to the ones that already exist until there’s some sort of quantifiable demand for a new/additional one that would make the effort worthwhile instead of spending time on something more useful to more people.
That said, if you or someone else wants to develop such a thing , there is of course the skeleton gateway in the add-ons dirctory of the wppizza plugin or – indeed- if someone can present convincing numbers I’d be happy to look at such a development of course.
PS: It is of course not only about the raw numbers of individual gateway sales as the offer of a particular payment option may make people buy into the whole wppizza ecosystem including all the other add-ons.
However, from what I can see, the penetration of sumup in the wordpress space is just not there (yet)….. happy to discuss though . Maybe I’m missing something …..
along these lines
add_filter('wppizza_preorder_filter_timeslots', 'myprefix_preorder_timeslots', 10 , 2); function myprefix_preorder_timeslots($timeslots, $pluginOptions){ /* your conditionals here */ return $timeslots; }
the plugin was updated on the 14th/
The ‘wppizza_preorder_filter_timeslots’ and ‘wppizza_preorder_filter_parameters’ filters were added
(in your case I would probably use the ‘wppizza_preorder_filter_timeslots’ filter, as this should be somewhat easier to manage)Hope that helps
Hi
you are not giving me much to go on to be honest.
What exactly do your settings look like / What have you tried ?
Are your kebabs and burgers assigned to the same “meal sizes” group ?If so, you might want to consider separating these to have somewhat more granular control, but I cannot know your exact setup or requirements of course.
That said, there is alwasy the possibility of using “exclude” custom groups if you need ingredients in (A) but not in (B) if they are assigned to the same “meal size”As a helping / starting point perhaps too:
Maybe also have a look at the examples here (https://demo.wp-pizza.com/wppizza-add-ingredients/our-menu/user/) that include screenshots of how various things are set up.Let me know how yo get on
without a url I cannot really say much other than
– sorting is working fine from what I can tell here (and has done for years)
– have you checked your custom groups ? (if any) if there are , have you checked those setting / can you provide screenshot ?
– Have you enabled debug (https://docs.wp-pizza.com/troubleshooting/)
and checked your debug.log ?
– Are all your plugins / themes up to date ?>….Workaround….Minimum preparation time = 1440
Lol, yes, that would have probably been the right setting to start off with.
That’s what that field is for after all, i.e if you need 24 hour warning at least than that’s the one (24 hours being actually different to 1 day due to DSTs )
Of course , this will allow you to order on thursday (when you are closed) at say 13:00 for friday @13:00….which is where the min advance days would have come in .But this may be what you are intending anyway. Only you will know how that works in your scenario though
> @ Olly, please change the function for preorder so that orders can also be made online when the shop is closed.
Again, that’s what it does unless you are telling the plugin not to , so I do not know what it is you want me to do here :/no. what you are summising is not the case.
The way it works is this:
you can only (ever) order for days/times when you are open (that was always the case and the whole point of the thing).
unless you say otherwise in the plugin (only proorder for today while open etc), you can order for the next time you are open (if ordering when closed) or next timeslot available .Nothing has changed there .
If you are saying you want to have one day minimum lead , then that applies (as explained)
additionally – in no particular order:
>We should be able to place an order on everyday of the week but, regardless if shop is open or not, …..
yup, that’s the point of the plugin (unless you are restricting things in the option settings to your requirement) but of course you can only order *FOR* days whe you are open> but only be able to select the days the shop is open for pickup, …
not sure what pickup has to do with things here ?! but yes, you can only place an order for a time/day when the shop is open>even if it’s tomorrow.
not if you are saying you want one day in advance (we seem to be going round the houses here).
It makes no sense to me to say I want a (business)day in advance notice , but say at the same time I do not need a day in advance notice if I am closed (at which time you would not know anything about that order, so – as mentioned above – you’d see an order (made on thirsday when you are closed) on friday (when you return to the shop) for friday, so your 1 day notice has just evaporated.I almost feel we are talking about different things here. Which bit above is the one where I’m going wrong in your opinion.
I’m happy to be convinced, but have not heard anything yet, that makes me think the way it works now is wrong (not withstanding the fact that you migh want it to work differently)>With the current situation: if your shop is only open 3 days (friday, saturday and sunday) a week it’s not possible to place/register an order
>This means also that if you want to place an order for next Friday you can only do this on saturday or sunday when working with full days?
No, it does not mean that. It’s one business day in advance from now . next week friday (assuming its thursday for example) is 8 days from now. if you are closed on thursday / after closing thursday you can order for sat/sun/mon/tue/wed etc etc (provided you are open on those days in th e first place – naturally)
Unless of course you are saying I will only accept orders “2 days in advance” for example as well as “minimum days in advance” one day or somesuch…if you are closed on thursday you cannot order for friday.
if current time (on a thursday) is *after closing time* on this thursday, you cannot order for friday1 day in advance is one (business)day in advance
Point being: if you are closed on thursday – or after closing on thursday (depending on opening times set ) – you would not know anything about any orders , so you would come to the shop on friday and getting hit with orders to be fulfilled for that friday even though you set minimum days in advance to 1.
As you are saying one day in advance, the next day for orders to be accepted would be saturday .
if you were able to make an order – in an older version of the plugin – for friday on a thursday after closing, then that was a bug in the plugin.
(As mentioned, as far as I am aware this is exactly what 3.10.1 was supposed to be addressing )…..
There is nothing inbuilt for thisI’m afraid.
That said, but with a combination of altering delivery times using the wppizza options filtersee https://docs.wp-pizza.com/developers/?section=filter-wppizza_filter_options
while conditionally listening to the postcode selected in$_SESSION['wppizza_userdata']
for example, this could probably be made to work
(An idea , just of the top off my head. There are probably other ways to achieve this too)sorry, but the latest update (i assume we are talking about 3.10.1 => 3.11) did absolutely nothing there.
It only adressed the issue of the orderhistory “falling over” on pages 2++If you have an issue still , it should / would have been there at 3.10.1 too (?!)
> It’s not possible on a thursday to select the friday as date to pickup the order.
depends on the time and openingtime settings
if it’s after closing on thursday (or if you are closed on thursday / holidays or some such) you cannot order for friday (that was the whole point of the initial update we were talking about here), but of course I may always be misreading thinsg perhaps ?!Sorry, but there is no provision in the plugin for this.
However, I could add a filter somewhere (probably be called ‘wppizza_preorder_filter_timeslots’ ) in the next update to allow you to filter the timeslots available if you need to .It’s a bug in the preorder plugin I am in the middle of fixing (I assume you have that installed and page 2++ will be showing things just fine if you temporarily de-activate it)
(I believe this got broken at some point with an update of WPPizza rather than the preorder plugin , but that’s immaterial of course. Gets fixed asap and there’s a better way of doing that particular thing now anyway)
PS: you could use the “old” calculation of this by adding
define('WPPIZZA_DBP_DOWNGRADE', true);
to your wp-config.php
but that might (probably will) get removed entirely at same point (it also does not account for any holidays set as those did not exist at the time)That said, fell free to make an argument and convince me why “days in advance” should be based on strict 24 hour interval and not actually like
1 == tomorrow (though that day may be closed of course, but irrelevant for this),
2 == day after tomorrow
etc,and I’m happy to look at this again
actually, seems to work just fine (on your test site anyway)
you are still open for today (at 17:35) so one day in advance, you can order for tomorrow (its a “day” in advane, i.e it being the next working day, not 24 hours from now. ) .now being 18:10 (you test site closes at 18:00 today) you will not be able to order for tomorrow. as intended
- AuthorPosts