Forum Replies Created
-
AuthorPosts
-
sorry, but I do not understand what ‘show closed times at opening times’ is supposed to do …
what exact html are you getting ?
sounds more like it’s not set to use SMTP in the first place (i can assure you the password does get saved)
a) you dont need any of the require(WPPIZZA_PATH.’classes/class.wppizza.order.php’); etc
this is wppizza v2 stuff
please see https://docs.wp-pizza.com/developers/?section=action-wppizza_on_order_execute
all details are in the $order_details parameters
b) i cannot tell you what else you need for your goodcom printer to work. i have no knowledge about it. you will have to refer to the manufacturer information(of course, if someone else reads this, has knowledge about it and wants to chime in, please go ahead)
may i draw your attention to the “closed times” and the help screen in wppizza->opening times
i can assure you, what’s private there is irrelevant . (essentially it says configure the printer following the user manual, to pull orders in “php mode””
its the original post that has the instructions
that said, that’s also based on wppizza v2 in v3 this would have to be based on this
https://docs.wp-pizza.com/developers/?section=action-wppizza_on_order_executetypically you would do this kind of thing with css/css-mediaqueries
but I suppose you could run some kind of device detection script and the filter the style variable using this filterhttps://docs.wp-pizza.com/developers/?section=filter-wppizza_filter_options
accordingly
in other words: you need to translate the plugin using the po files
works the same as here
https://docs.wp-pizza.com/faqs/?section=wppizza-in-other-languagesexcept it’s the subdirectory of the add ingredients plugin (obviously) and the po file you need to create is
wppizza_addingredients-de_DE.po reespectively>which file should I change
none
you should look at the shortcode attributes – especially the elements attribute
https://docs.wp-pizza.com/shortcodes/?section=by-categorylook at your console
Failed to load http://cp23.www1.dk/~peppesp/wp-admin/admin-ajax.php: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://www.peppes-pizza.dk’ is therefore not allowed access.
already doable with these filters / functions
https://docs.wp-pizza.com/developers/?section=filter-wppizza_filter_options
https://docs.wp-pizza.com/developers/?section=global-wppizza-functions
i.e somethimg along these linesadd_filter('wppizza_filter_options', 'my_prefix_my_options'); function my_prefix_my_options($wppizza_options){ /* on pickup , set your other closing times as you wish, below closes shop everyday at 9PM except on sunday where it will close at 8:30 */ if(wppizza_is_pickup()){ $wppizza_options['openingtimes']['opening_times_standard'][0]['close'] = '20:30';//sun $wppizza_options['openingtimes']['opening_times_standard'][1]['close'] = '21:00';//mon $wppizza_options['openingtimes']['opening_times_standard'][2]['close'] = '21:00';//tue $wppizza_options['openingtimes']['opening_times_standard'][3]['close'] = '21:00';//wed $wppizza_options['openingtimes']['opening_times_standard'][4]['close'] = '21:00';//thu $wppizza_options['openingtimes']['opening_times_standard'][5]['close'] = '21:00';//fri $wppizza_options['openingtimes']['opening_times_standard'][6]['close'] = '21:00';//sat } return $wppizza_options; }not tested as such but should work
wppizza->templates
because you must also enable them in wppizza->templates
your problem is here :
PHP Fatal error: Uncaught Error: Call to undefined function mb_internal_encoding()
you must enable/install mbstring in your php (and unless you updated from a v2.x version of wppizza, or you moved things to a new host as it is, or you upgraded php without also enabling the same php extensions that were enabled in the previous php version (which seems to be the case here from what i can see) , you really should have received an error/warning to that effect)
you should ask you host to enable/install it
had a look here ?
https://docs.wp-pizza.com/developers/?section=wppizza-markup-singlesorry, but this really is not anything like a simple thing to do
this is all added via filters (there is no “file” you could edit) as column counts also change dynamically
you would also most likely seriously run out of space you have in that column (which is why it is added underneath to stretch across all column)more importantly, i also cannot see why this would be an urgent requirement or indeed what would be the actual benefit of doing this
Feel free of course to make a case for it and maybe i can make this an option one day (but even then , it’s not going to happen in the immediate future I’m afraid)as of wppizza version 3.2.5 this – i believe – works again as intended
you see, the issue is, that i do not understand how your mail.log / program can say
“….. recipients : [email protected], [email protected] ….. recipient address not accepted by server etc etc ”
if the plugin simply does not do that.
the email entered by the customer (i.e for this example [email protected]) is never in the main recipients list , but in the cc (unless you setup a separate template – which you have not – to send to the customer of course)
so the mail sending program is failing the ENTIRE email even if only the cc is invalid ?
surely , it should still send the stuff (and will get a bounce from the cc)can you talk to whoever administers your mailserver about this please as this makes no sense to me
(PS wppizza 3.2.5 will also add a little more detail to those 10003 error emails to be able to dig a bit deeper if needs be )thanks for those
could you also please post (or send to dev[at]wp-pizza.com) a screenshot of
wppizza->templates ?
thanks -
AuthorPosts