Forum Replies Created
- AuthorPosts
-
that sounds like you are caching pages that should not be cached
https://docs.wp-pizza.com/faqs/?section=using-a-cache-plugincan you post the error in the translation here perhaps when you get some time ?
(just in case someone else has this problem and subsequently comes across this topic )thanks
that is in fact part of the https://www.wp-pizza.com/downloads/wppizza-confirm-reject-notify/ plugin (provided “notifications” are enabled in that plugins settings )
unless this request comes many more times, I cannot see the development of such a thing ever producing any ROI. Sorry.
i don’t think i understand
a) if you simply want a donation buttom somewhere people can use when they order by phone, there are already hundreds of donation plugin/implementations
https://wordpress.org/plugins/search/donation (and this does not have anything in particular to do with wppizza as such)b) if you want people to pay by credit card, with an order they are making , then there are of course already plenty of wppizza gateways
c) if people order by phone then most/many will probably NOT want to go to a website/page in the first place (otherwise they could have just ordered it from there to start off with I would have thought)
back to the issue at hand:
this should now be fixed in v 2.4.1 of the preorder plugin
thanks again for the notification about this
18 December, 2018 at 11:38 am in reply to: Opening times not working (To close for Christmas) #40591do you still get the same login issue issue if you clear your cookies (or perhaps disabling extensions – if any) ?
update: this should be fixed now in v4.0.19 of the post/zipcode plugin
(of course, let me know if you still have issues after updating)Though I am reasonably sure this used to work just fine, I must have done something at some point that broke this as I get the same result here when using your settings.
I’ll fix that asap in an update (hopefully in the next day or two). Will keep you posted here when i have some news on this frontthanks for letting me know
Hi
I must admit, trying to reproduce this here , I am surprised myself that I get the same (unordered) result,
which is even stranger given that they are automatically sorted in the backend.
I’ll fix that in the next update (should not be that difficult to do) in the next day or twothanks for flagging the issue.
you need to familiarise yourself with wordpress action and filters and generally really how it does things (see the wp codex)
perhaps something like this in your themes functions php (just as an example, there are a million ways of doing this)add_action('wp', 'my_export_function_name'); function my_export_function_name(){ global $post; if($post->ID == [some post/page id]){ /* run the query and print the output or some script that automatically creates and downloads the csv or whatever else it is you need to do */ } }
but please note: this is about the basics of wordpress, i cannot really offer support for this sort of thing in general
some basic action/filter overview can also be found here: https://docs.wp-pizza.com/developers/?section=filters-actions-functions
you mean you don’t know how to echo/print (i.e output) things in php ?
then YOU have set up something that sends those emails.
the plugin does not do that nativelycorrection:
the foreach loop above should be nested – i.e something like$args = array( 'query'=>array( 'payment_status' => 'COMPLETED',//get completed orders only ), ); $data = wppizza_get_orders($args); foreach($data['orders'] as $order){ foreach($order['order']['items'] as $item){ //$item['cat_id_selected'] => [int]... //$item['item_in_categories'] => [array] ... } }
to loop through each item of each order
sorry about that
PS: generally speaking, it’s only a word anyway, and there are css classes associated that would let you use the same background color as a “new” order (for example)
furthermore, you could also simply change “Acknowledged” to “New” (or whatever else you want it to be – maybe “New- Viewed” or something so at least there’s some distinction between the 2) in wppizza->localization “Admin Order History – Order Statuses”
No, sorry (not at the moment anyway)
that’s by design as – clearly – once you have clicked on it and seen it , it’s been viewed (in this case named as “Acknowledged” )however, you can set it simply back to “new” again, in the same popup screen (or after closing that popup box)
perhaps the following would be simpler in this case
https://docs.wp-pizza.com/developers/?section=function-wppizza_get_ordersi.e something along these lines
$args = array( 'query'=>array( 'payment_status' => 'COMPLETED',//get completed orders only ), ); $orders = wppizza_get_orders($args); /* items for each order */ foreach($orders['orders']['items'] as $item){ //$item['cat_id_selected'] => [int] category id the item was in when it was added to cart (as an item can belong to multiple categories) //$item['item_in_categories'] => [array] all categories an item belongs to (where key -> cat id) /* do some grouping by catid i would think here , or whatever it is you need to do */ }
may i suggest this resource
https://docs.wp-pizza.com/developers/?section=create-your-own-sales-reportas all that data – and more -exists already
(see especially the wppizza_filter_report_datasets and wppizza_filter_reports_export_results filter hooks)PS: it seems to me you are also editing core files – that is never good idea
>Unfortunately, this is not possible
that’s not true.from the help screen:
“custom opening times: …. If you are closed on a given day set both times to be the same….”“Could not instantiate mail function” is a server/setup/host problem. this could be caused by all sorts of things but only you / your hosting provider will be able to know why and this is nothing that could be “fixed” in the wppizza plugin (as it’s not caused by it)
on place to check perhaps
https://www.acyba.com/acymailing/246-could-not-instantiate-mail-function.html
but there are also 100’s of possible solutions if you google for “Could not instantiate mail function”PS: I assume “myemail” is in fact a valid email address of course (otherwise that is of course the issue right there)
- AuthorPosts