Forum Replies Created
- AuthorPosts
-
without some screenshots of your settings (regular ingredients and custom groups) , a link to a page where i can see what you are describing i cannot really comment other than to ask you:
what exactly do you consider unused ingredients / why are you saying they should not appear if you have defined them ?
with regards to your question:
(most) database tables – wppizza related or not – will have auto (increment) id’s so when a new row gets inserted the id increases.
in relation to wppizza, not all rows added to the order table will subsequently end up being a completed order, so it is more likely than not in fact that db id’s (invoice ids) will *not* be consecutive – though they will be sequential and unique.regarding the the rest
anyone who knows even only the most basic things about databases can change id numbers in whichever way he/she likes.
saying “missing order-id’s could be classified as fraud ” is just nonsense in my opinion and a “red herring”.If I want to commit fraud, I commit fraud, if I don’t, I don’t. Furthermore, it’s for the accuser to prove that the business committed fraud, not for the business to prove that it did not.
(or – to use your words – if I want to “fake” things, it will never be a problem; this is not a wppizza specific issue in any event )lastly, it is also often stated that invoice number must be consecutive (i.e 1,2,3,4,5) . This is simply untrue(*)
(*)Disclaimer: the above is related to most countries I know of and is my personal opinion based on the knowledge I have as of writing this. I am not a lawyer or tax adviser and I cannot be 100% sure of course for all countries as I do not know the tax laws of each and every country on the planet. If in doubt, please consult a professional on these matters
there are two filters you could use (first one for the boxes on the left hand side, the other for the ones on the right
/**allow order change - or indeed additional boxes - by filter**/ $box=apply_filters('wppizza_filter_reports_boxes_left',$box, $datasets, $range_restricted); $boxrt=apply_filters('wppizza_filter_reports_boxes_right',$boxrt, $datasets, $range_restricted);
it should be relatively straight forward to add to the
$box
or$boxrt
array depending on the dataset results i would think – just have a look as to what it’s there to start off with as a guide to what the array should look like
(i assume you know how wordpress filters work )Even if you were to limit an item to 2 only for example, what stops someone from simply doing 2 separate orders ?
whereas if you do in fact think about your breakfasts like they are being stock managed, once the “stock” of those 2 breakfasts is gone, it’s gone and cannot be re-ordered (until the next day , by which time you’d have to reset the stocklevels to 2 i guess – or something along those lines)
this would however require having different breakfasts for different rooms (i.e Breakfast Room A, Breakfast Room B, etc) so it can be “managed”(though I appreciate the above might be somewhat overkill in your scenario)
got a link as to how this is setup exactly ? maybe i can suggest something simpler.
Seems to me you might be looking for something like this perhaps ?
https://www.wp-pizza.com/downloads/wppizza-stockmanagement/I’ll make a note of that scenario as I understand the issue, but cannot promise that it will ever make it anywhere near the top of things to do I’m afraid
>Is this possible?
in short: at the moment, no. there is no “combined menu” possibility/plugin – or whatever you might want to call it – in existence. (Not to my knowledge anyway)
One could probably – in theory – create some discount of some sort for this depending on what’s been put into the cart but I hazard a guess the idea is to be able to offer a “2 schnitzel with 2 beers” – i.e a combined menu – sort of thing with different taxrates depending on what’s part of that menu
this is currently not implemented (and no plans exist to do this in the sort or even medium term future from my side)there is already an alternative tax-rate you can set for any item
Sorry, only items that belong to the same (sub)category will be combined into the same (sub)category
This reply has been marked as private.no
wppizza -> tools -> maintenance
not every order that gets started , gets completed so you will have what you call “empty orders”
even so, what’s the issue/problem ?>…disort the Order-Id…
what does that mean ?>…wasn’t sure it would do this kind of stuff…
no, it does not.
all it does is open the shop/site for ordering outside your regular opening times for an order to be fulfilled during your opening times (with some timeslots 5/10/15 etc minutes per hour during your openingtimes)
,though there are a couple of more settings that can be set to tweak some things a bit moreIt does *not* do anything like “order “item A” now (lets say on the 10th Feb) for it to be *only* available on the 14th Feb for example
hope that clears things up…
just use the po/pot files included in the language directory of the plugin
they are split into admin and frontened files. what you are seeing in wppizza->localization in your wordpress admin are the frontend localization stringssince i cannot reproduce this here, it’s all kind of guess work , but we can try a couple of things regardless
as laid out below
( especially given that it seemingly works fine with COD orders so my current guess would be it’s a priorities issue somewhat…)a) in
wppizza-delivery-by-postcode.php
you will find at approx line 60
add_action( 'plugins_loaded', 'wppizza_dbp_set_version', 11);
change this to
add_action( 'plugins_loaded', 'wppizza_dbp_set_version', 1000);
and save that file
b)in
v3x.php
at approx line 36 you will find
add_filter('wppizza_filter_formfields', array($this, 'wppizza_dbp_output_formfields'), 10, 2);
change this as well to read
add_filter('wppizza_filter_formfields', array($this, 'wppizza_dbp_output_formfields'), 1000, 2);
and save that filetry doing a paypal order and see if this now gets picked up in it and let me know
(i assume here you are comfortable with editing a few lines of php code , if not let me know)
8 February, 2021 at 6:05 pm in reply to: Force users to pay online if they proceed a preorder #53948yeah, this will not work actually , as the meta value only gets inserted into the db when actually submitting the order, not before.
other than doing some javascript listening to the onchange event in the preorder plugin input field perhaps , then forcing a reload of the page with the filter conditionally set so the COD option gets removed/added as required , i cannot really think of anything else here at the moment
“Cannot start session” errors MUST be fixed. a lot of things – and the issue described might well be one of them – will not work if this is the case
please see
https://docs.wp-pizza.com/troubleshooting/?section=headers-already-sentin fact, if you add those constants and do a paypal order and you still have the same issue, check your wp-contents/debug.log as it *might* give us a clue now
- AuthorPosts