Forum Replies Created
- AuthorPosts
-
actually – as i understand you – you are trying to chain things i.e have a nested hierarchy like this (omitting drinks here for the moment)
menu item [a]: breakfast
-sandwich with one ingredient
–choose 1 ingredient of the following:x,x,x,x
-sandwich with two ingredients
–choose 2 ingredients of the following:x,x,x,xso sandwich is one ingredient really and the ingredients for that are essentially ingredients for an ingredient …. hope that makes sense)
whereas what is is designed to do is this (i.e :
menu item [a]: sandwich with one ingredient
– choose your one ingredientmenu item [b]: sandwich with 2 ingredients
– choose your 2 ingredientswhich you should be able to do quite easily.
having said that. you could also do your thing by duplicating ingredients and then have those duplicates in their own 2 custom groups (first one being the free ones, second one being the ones with an additional charge of 2.00 , where in both groups you can only select one )
However, ignoring all of the above and given that i have also found a couple of minor bugs whilst messing around – i think I should be able to add something to the plugin that lets you do this more elegantly without having to duplicate ingredients….
give me a few days and there should be an update to the plugin and i’ll post a screenshot here how to set it up
hope that helps (?)
v1.1.1 addresses this now by loading that text dynamically via ajax if using a cache plugin instead of inserting it onto the page
(note: “i am using a cache plugin” has to be checked in wppizza->settings)havent forgotten you
just busy
i’ll see what i can put togethersimple issue is , that the pages are cached (i.e you “recently” turned on a caching plugin)
the current preorder plugin doesn’t deal with that , but i’ll do something in an update that should address that toowill take a few days, so in the meantime taking that text out as you did is probably a good idea (or you could disable your cache plugin of course as a temporary measure)
ps: can you send me a sceenshot of your opening times please to dev[at]wp-pizza.com
must admit, that looks a bit strange
i’ll have a bit of a more indepth look tomorrow if you dont mind (its late here)one thing that puzzles me though: what exactly do you mean by “recently” ? what changed ? did it work fine before ?
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
- AuthorPosts