Forum Replies Created
- AuthorPosts
-
without a link, I cannot comment really
please start your own topic. you cannot know if you have the same problem as the OP has not send any info.
In the meantime, a couple of observations:
a) you are using an outdated version of the plugin
b) have you enabled debug checked your debug log ? https://docs.wp-pizza.com/troubleshooting/
c) as you have not updated the plugin for quite I while and it worked for years but suddenly stopped working the chances are you did something else somewhere else that causes your issue (again, check your debug info)If you need to continue this conversation, please start a new topic (you can reference this one here with a link if you wish)
To be able to comment, I would really need to see the general settings of the (preorder) plugin and the wppizza-> openingtimes as well as a url where I can see the issue you are having
perhaps to start off with you can make a screenshot available somewhere of your settings at least>It seems to work…
glad to hear it>Thx again
you’re very welcome. thanks for flagging the issue>The strange thing is …..
not really, but I’ll spare you all the details …
Suffice to say , I was able to replicate your issue here now and v3.7.4 should have this now (famous last words….)Thanks for providing all the details
This reply has been marked as private.Do you have a URL where I can see this not working ? Using your settings here (you posted above) , this works just fine
sorry, i was meant to leave a message here but didn’t
anyway , this was fixed (I believe) about a week ago with v.3.7.3
This reply has been marked as private.To be able to comment, I would really need to see the general settings of the (preorder) plugin and the wppizza-> openingtimes.
perhaps you can make a screenshot available somewhere3.7.2 was in fact an update to stop people from being able to select expired/unavailable timeslot so perhaps something happened there I did not consider , or, conversely, it is now actually working as it should and it did not in 3.7.1
In any event I’d really need those settings to investigate either scenario
thanks
3 July, 2023 at 4:59 pm in reply to: Optimizing the ‘Snacks for Pickup’ Menu: Eliminating Delivery Option #62236I can see 3 options here
a) setup a second site / clone your site (multisite i guess) where site a is delivery ony and site b is pickup only (with the relevant items available) and links somewhere to switch between the 2 sites depending on if someone wants delivery or pickup
– relatively easy to do but of course you need to maintain 2 sites somewhatb) write some js that analises whats in the cart when switching from pickup to delivery and vice versa and show alert as required (or even prohibit switching !)
Use the globally available “wppizzaCartJson” object – should be self-explanetory as to what it what
(the existance of this object is deliberately not documented anywhere as it might still change but for now I cannot see any reason why it should , so its reasonably save for the moment to use – at least for the foreseeable future – but at your own risk)
– needs some scripting but should not be too complicated and avoids having to maintain 2 sites. js only.c) something based on https://docs.wp-pizza.com/developers/?section=change-prices-of-menu-items-depending-on-day-of-week
with some js too perhaps to alert users plus a number of other things (removing iytem form cart or changing pickup to delivery etc etc)
– probably can be made the most elegent, but by no means trivial… writing out loud so to speak, I’d personally would probably go for b) in your case
hope that helps
>If the pick-up is active above, the pick-up time is not specified on the receipt as the delivery time but the pick-up time
Yes , of course. If it’s pickup it’s the pickup time (as it’s not a delivery)
Am I missing something ?
>but it is printed out very small and very light,
it’s printed out just the same size as all the other lines. If you want to increase the size, set the css in “wppizza ->templates : print[tab]” for the template you are using as required (use your browsers element inspector)> the pre-order time is not displayed but the font is dark
I do not understand this . what is dark when it’s not even displayed ?Have you enabled debug (https://docs.wp-pizza.com/troubleshooting/) and checked your debug.log ?
If the results there do not mean anything to you it would appear to me you don’t need a “specialist”, but simply someone with a modest understanding of wordpress/php
why not contact the person that setup your site to begin with ? I’m sure he should be able to help you with the basics of updating plugins…please also note, this forum is not a jobadvertising/seekers forum. there are other dedicated forums for this sort of thing
thanks
I just updated the plugin to 3.17.4 with the actual fix (it’s different to what’s above as that was just a simple bypass to the issue)
but I am quite certain this will now be fine . Naturally if there are still issues, let me know. I can only fix things I know aboutOk, so the widget is actually doing (i .e you cannot order for outside opening hours) what it’s supposed to be doing but the display of the text / info is somewhat misleading (I agree with you there)
I have had a bit of a dig around and the issue is actually in the main wppizza plugin. There is a sanity check in there which is somewhat too strict (aka wrong) which needs to be changed/updated. To make sure this is actually the culprit can you do the following please in your install to verify this is indeed the fix for this (I assume here you are confident to change a line of code, if not , let me know):in
[site-path]/wp-content/plugins/wppizza/includes/global.static.functions.inc.php
on approx line 1106 you will find
continue 2;
change this to just
continue ;
and save the file. let me know if this addresses the issue you are seeingI dont know what you are seeing but this looks all fine to me.
It’s Wednesday 11:47 (your timezone) / timezone set
:your shop is set to be open from 7:00 to 22:15 but closed between 10:30 and 17:00 so as of current time, your shop is closed and ai can only (pre)order for 17:00 onwards, which is what the widget is doing …..
cannot see the issue really. What am I missing here ?This reply has been marked as private.This reply has been marked as private.This reply has been marked as private. - AuthorPosts