Forum Replies Created
-
AuthorPosts
-
28 January, 2016 at 3:15 pm in reply to: How do I lock down a selection within a category to one choice only #15387
PS: i don’t even understand why your farmer would want to restrict this in the first place, but then again I do of course not know the exact details as to why this sort of thing might be desirable..
28 January, 2016 at 3:12 pm in reply to: How do I lock down a selection within a category to one choice only #15386“out of the box” so to speak, you can’t
however, if you want to get your hands dirty, you could write some javascript based on this
https://support.wp-pizza.com/topic/running-your-own-custom-javascript-functions-on-cart-refresh/together with some ajax and the following filter “wppizza_filter_order_summary_session” to not allow (or more accurately unset) the addition of another item if there are already items that belong to that category
furthermore, you might want to unset the “wppizza-add-to-cart” classes on items in categories where an item of that category has already been added to the cart. either by javascript or using the “wppizza_filter_price_class” filter to unset the “wppizza-add-to-cart” class for relevant items
in any event though, this is not trivial by any means . never mind that it would not stop a customer to just do two separate orders anyway…
did you enable any of the radio buttons there so it is actually used ?
(such as email recipients: shop and bccs and/or customer and/or additional recipients)see also the help tab at the top right of the screen for more info on those
any other suggestion or solution?
perhaps using the normal WP->tools -> import , creating some xml/csv/whatever beforehand.
other than that, nosorry, but you have chosen to work with a 2 year old version, while (it seems) updating WP.
the plugin gets updated not only to add more features but also to fix bugs and make it play nicely with new versions of wordpress.
if you do not update the plugin but WP only, you run the risk of things breaking. there isn’t anything i can do there.
that said, because you have not updated, the most likely problem is your db is using an outdated scheme/collation so you should fix that (see here https://support.wp-pizza.com/topic/error-sorry-we-could-not-find-this-order-2/)
regarding your install trying to connect to root: this has nothing to do with the plugin but is somewhere in your setup
wppizza items are just (custom) post types.
maybe you find something here
https://www.google.co.uk/?gws_rd=ssl#q=wordpress+bulk+create+postsif you look at the code at
https://support.wp-pizza.com/topic/send-email-on-admin-status-update/it sets plaintext headers and only what you set the message to be like inside the
$messagevariableso the message, headers etc you want to send/set you have to create.
if you want to use one of the templates, look at the admin-get-json.php as a starting point
inside/************************************************************************************* * * * [order history -> print order] * * *************************************************************************************/ if($_POST['vars']['field']=='print-order' && $_POST['vars']['id']>=0){ /*........code..........*/ }This reply has been marked as private.what’s your mysql version?
what version of wppizza?Hmm,
the idea of the plugin isn’t really for usage as an internal ordering system so to speak but to allow customers to order things over the/your website for delivery or self-pickup, in which case everything WOULD be ordered at once (and just one bill would need to be printed).
Nor is the scope of it to be a table reservation system or some such .Bearing that in mind, I don’t think there will ever be a function that “clears the table” for the next sitting. After all, the plugin does not know anything about your tables, regardless of whether or not you just renamed a field.
However, one could think about a way to either combine various orders into one, or being able to add more items to an already existing order, either one will open another big can of worms though.
I will add this to my list of ideas, but cannot give you any ETA as to when or even if this will ever be available/implemented.All I can say though it’s most definitely not going to happen in the next few months as I do not plan to add any additional functionality of that magnitude to wppizza v2.x
Perhaps in v3+ (which I am working on at the moment). But that’s months away yetwhat’s wrong with the “delete” button ?!?
where/how have you added the table number ? if you add a filed called “table number” for example in the order form settings then it will print (it cannot print what doesn’t exist of course)
it’s just a wild guess though. maybe you want to do something different somehow but you’ll have to elaborate
perhaps some server unresponsiveness…who knows
sounds like javascript errors
no, sorry. there is no such module/integration (not yet anyway, and not likely to be in the foreseeable future)
not 100% sure what exactly you are referring to, but if your enquiry is about such things like DHL, FedEx etc tracking, then the answer is no. sorry.
>We used to get regular size font but i don’t know what happened to the system that made the font smaller.
no do i. i havent changed anything, so i must assume it’s your end somewhere
sounds more like an email client issue as noone else seems to have that problem.
though there is a way to increase font sizes (by using certain filters), i think it would be a better idea if you were to send me the link to your site so i can do a test order to have a look first of all as to what the emails look like when i get them hereactually, what just occurred to me is that – as your wppizza version is quite old – your db collation has probably not been updated either regardless off what mysql version you use.
so that would probably be the issuesee here
https://support.wp-pizza.com/topic/error-sorry-we-could-not-find-this-order-2/
as to what the db structure should be (especially all the utf8mb4_unicode_ci collation statements)MAKE A BACKUP before you change db tables !!
apologies. this would of course be the wordpress admin ajax.php
in any event , this is of course a server call and as i have no idea what those colours in your image mean (and indeed can only see parts anyway), i cannat tell you what ‘s going on on your server. might well be just slow server response time or the server trying to cache things when it should not….millions of possibilities
-
AuthorPosts