Forum Replies Created
- AuthorPosts
-
>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.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.works all fine here.
got a link to your site and a “walkthrough” so to speak that let’s me reproduce the issue ?Hi
though I can do something about that error, it also seems to me you are using the preorder plugin without the shop ever being open so this is really quite likely to cause issues . There isn’t really any point to use the preorder plugin if you are never open anyway
Secondly, I would also suggest to simply not put any shoppingcart anywhere if you are always closed (or using some of the other options available to disable the cart/ordering) instead of setting all days to be closed
additionally see also
https://docs.wp-pizza.com/faqs/?section=can-i-just-display-the-menu-without-offering-online-orderI had a play with some things here and it seems the pre-order does not take the closing times into account
(I’m reasonable certain it did do that in the past but somewhat got lost in an update)
I’ll fix that asapthanks for letting me know
Oliver
This kind of timeout depends on your php session settings and server setup.
If you want to adjust that, here’s one (of many) urls to give you some ideas as to how to do this
https://stackoverflow.com/questions/8311320/how-to-change-the-session-timeout-in-phpHope that helps
Hi
first of all, if the client has this warning on a page , then he/she has enabled debugging to be output instead of logged. that’s just a bad idea and should never be the case for production sites, so I suggest to fix that (see https://docs.wp-pizza.com/troubleshooting/ how to set debug constants – or indeed the wordpress codex)
regarding the warning itself, this will automagically fix itself in the next update (as that particular function is being re-written as it needlessly doubles up things)
- AuthorPosts