Forum Replies Created
- AuthorPosts
-
did you read the howto ?
sorry, i have no idea (in any case, “best” is very subjective)
you cannot/should not change id’s. period.
(well, in theory you could return different id’s when using this filter, but you will seriously break things)if you want to set the sortorder by id, do something like this
$map=array(10,12,11,6,3);//set ALL your ingredients id's in the order you want them sorted. $sortedIngredients=array(); foreach($map as $key){ if(isset($ingredients[$key])){ $sortedIngredients[$key]=$ingredients[$key]; } } return $sortedIngredients;
Hi
i’d have a look, but can’t really say as your link just goes to a holding page without any menu items etc etc.any chance you could take this off so i can have a look?
>I looked into the files that generate the mail
entirely the wrong place to edit.
if anything, you should be using the filters provided>I assume that somewhere the code does the following…
simplistically speaking, yes (but i can assure you it is nothing but simple)either way, the place where the add ingredients stuff gets generated is in
wppizza-add-ingredients/ajax/get-json.php, i would however -STRONGLY – suggest you leave this alone as – for starters – you will never be able to update the plugin againif you have way too much time on your hands you should be using the filters here
https://www.wp-pizza.com/topic/filter-options/
warning: you can seriously break things if you mess this up . and if you are “not a programmer” as you are saying yourself, i suspect you also don’t know how to use filters which would make this even more dangerous.
then again, i’m all for “learning by doing”, just be aware that I would seriously suggest to not mess around on a live server unless you are 1000% sure it works…
Hi
first of all – as wppizza is a free plugin (http://wordpress.org/plugins/wppizza/) I would advise you to just download and install it , as the majority of your questions will quite easily be answered when you do
for all others, see below
re 3:
see https://www.wp-pizza.com/downloads/wppizza-delivery-by-postcode/re 5 :
doable with this extension here
https://www.wp-pizza.com/downloads/wppizza-timed-menu/re 6/7 :
https://www.wp-pizza.com/downloads/wppizza-add-ingredients/re 9:
https://www.wp-pizza.com/gateways/re 13: not currently implemented
re 14 : not currently implemented (unless you are coming from another wordpress installation where your products already exist in which case its a simple export->import)
18/19: not implemented or indeed in the scope of wppizza , but there are (probably) other wordpress plugins that do that
have a look at http://wordpress.org/plugins/20 : some (*but not all*) of these would be achievable with a combination of the “timed menu” and “add ingredients” extensions referred to above.
however, there will be a dedicated plugin for coupons , special offers, buy one get one free etc in the future, but there’s no ETA as to when this will be available.
so if you were to need this now, you would to have to find a developer
hope that helps
Olly
hmm, worth a read possibly ? …
http://wordpress.org/plugins/wppizza/faq/ ->Can I just display the menu without offering online order?
5 September, 2014 at 1:30 pm in reply to: opening hours, and automatic input of next possible delivery time #4972seems like its now also visible on wordpress.org
5 September, 2014 at 12:39 pm in reply to: opening hours, and automatic input of next possible delivery time #4971bits and pieces (see below)
2.10.4.5
* checked for compatibility with WP 4.0 (nothing to do :))
* doublecheck when submitting order that shop is still open (in case someone stayed on the orderpage for ages without doing anything)
* added filter in admin order history to be able to customise output if required
* added action hooks to admin-get-json.php and get-json.php
* added missing class to wrapper div of menu item text and pricetiers in responsive css
* bugfix: closingtimes between 00:00 and 00:59 were not recognised properly (surprised noone noticed this before)
* updated readme
4th September 20145 September, 2014 at 12:25 pm in reply to: opening hours, and automatic input of next possible delivery time #4969done in v.2.10.4.5 (although the changelog is currently not updating on wordpress, dunno, i believe that’s their end . i sent them an email)
the only way this could still happen now is if using payment gateways (but they usually have their own timeout)
i.e shop closes at 11PM
customer sends order at 10:59:59 and gets redirected to gateway (as shop is still open)
in theory , he could stay on the payment page for hours and then send the order . as he has paid, wppizza will send/complete the orderhowever, as i said above , most (if not all) gateways will have their own timeout , so he would probably not be able to pay after having been on that payment page for ages
hope that helps
4 September, 2014 at 11:15 pm in reply to: opening hours, and automatic input of next possible delivery time #4961I thing this can also happen, if a customer started with the order during opening hours and reached into the closing time
in fact , this can ONLY happen if the customer stays on the order page for ages (without reloading) and then submits the order. (quite a rare scenario i would have thought, but definitely possible)
I’ll see what i can do as there are a few different ways to solve this.
I just need to make my mind up, what’s the best way to go about thisplugins->add new -> upload
>I hope you can give me a suggestion what’s going wrong.
not without a link……
ignoring the programatical challenges this would pose, there *might* also be several reasons why this is not such a good idea (although have not thought it through yet entirely, so maybe this *is* something that would make sense / be beneficial, but don’t quite know yet as there are a lot of scenarios to take into consideration)
something to think about no doubt, but no promises
PS: it also only seems to be a windows extension
full page here (where i got the above code from)
http://www.experts-exchange.com/Programming/Languages/Scripting/PHP/Q_28394791.html
and some more info
http://stackoverflow.com/questions/23380862/send-pdf-file-to-printer>Just using the feature request forum to pitch idea’s.
absolutely, that’s what it’s there for.
many (in fact most) things mentioned here in the past did make it into the plugin in one shape or anothersorry, but I have to say this is such a special (and from any queries I had so far unusual/unique) situation, that I dont think I will make this an option as it would completely over complicate things.
sure, if I get this request more often I might revisit that idea, but for the moment , I don’t think I will do anything about this.
having said that, you could do one of the following:
a) have a multisite setup (one site for entire menu and the other for pickup only)
and have some forced (javascript perhaps) selection – pickup or delivery – for the customer that redirects to which ever site is appropriate depending on selection and he/she can select from thereor
b) use some of the filters that – again, depending on whether self pickup or delivery has been chosen – show / hide menu items (maybe add the “only pickup” items to a distinct category and show/hide depending on whether an item is in that category)
again, if this sort of thing is requested more often , I will do something about this, but for the moment I don’t think this will be implemented in the near future (if at all)
PS: I’m always open to ideas by the way, so keep them coming, but this one I will have to pass on for now, sorry
it would probably take them 10min to come over anyway 🙂
either way, i’ll do something about this when i get the chance
> How can this be changed?
i’ll have to add an option
(although “as soon as possible ” would of course be the first timeslot)cannot say i do …..
i assume it worked before ?
nothing i have changed that would cause this to suddenly not work.
checked your/their junk folder / logs ?does the order show up in the order history ?
might want to try to set it to sandbox / test, turn on logging (in the gateway settings), do a test order and see what happens and what the logs say (again in the wppizza-gateway-paypal/log/ directory)
- AuthorPosts