WPPizza – A Restaurant Plugin for WordPress › Support › General Support › Different number of free ingredients for different menu size
- AuthorPosts
- 1 February, 2017 at 4:32 pm #25171Anonymous
Hi,
i am using this greate Plugin to setup an ice cream order plattform.
my problem is to assign Different number of free ingredients for different menu size.For example:
Ice Cream Cup 1: User can choose 3 different size.
size 1: 3 Ice cream balls (3 balls are free and more balls will cost extra)
size 2: 5 Ice cream balls (5 balls are free and more balls will cost extra)
size 3: 7 Ice cream balls (7 balls are free and more balls will cost extra)I cannot find a solution for this issue. everything runs fine, but i cannot setup free balls related to the size.
I can setup free ingredients for the cup only.
Is there any one with the same problem and can help me with a solution?
Regards
André2 February, 2017 at 2:28 pm #25200it’s doable albeit not quite as straight forward as – presumably – you want to offer the same flavours for all three
reading your scenario, there is perhaps a way to an an option for this in the plugin at some point to make this simpler. alas , at the moment you would have to do wither of the followingoption a): much simpler, but not really what you are asking for (but thought i’d mention it anyway).
– create 3 distinct menu items “3 balls”, “5 balls” , “7 balls”
– create all your flavours as ingredients
– create 3 custom groups, each having all the flavours but setting min/max requirements distinctly for each (which is why you need 3) and assign them to the menu items created aboveoption b) – i.e keeping one menu item with 3 sizes (3,5,7)
– create all your flavours as ingredients
– copy all these flavours 2x. So you end up with 3 times the same bunch of flavours (as every ingredient in a menu item must have it’s own id)
– create 3 custom groups, each having all the flavours but setting min/max requirements distinctly for each (which is why you need 3) and assign them to the 3,5,7 menu item above
– create 3 more custom groups,using “exlude” option to exclude as required (if all items from a group hve been excluded, the whole group will not show up anymore)reading this through, i actually created this here with screenshots (as it might be be helpful)
2 February, 2017 at 3:28 pm #25202AnonymousHi Olly, I got you and much thanks for suggestion.
Its not the smartest way to handle my problem, but it seems to be the unique way to fix my problem with any coding.
Much thanks again for your help. I will try it an leave you a note.
Best regards
André2 February, 2017 at 4:14 pm #25203it’s also a somewhat unique setup you are trying to achieve and just a way to make it work regardless.
it would be easier of course if one were to be able to just exclude a custom group from a size altogether or some such thing, instead of adding additional exclusion groups. alas , this is not implemented at the moment though might be one daytypically you do not have the same ingredients/topping (whatever you want to call it) multiple times for an item. furthermore they MUST have different id’s (reason for copying it)
>Its not the smartest way to handle my problem,
as i said, the easiest would be to have 3 different menu items. after all the plugin cannot possibly cater for every single unique way people want to do things. That said, it’s clearly still possible – as outlined2 February, 2017 at 4:17 pm #25204essentially, you are – somewhat – creating a kind of special offer.
I.e buy three, five or seven free and get additional at whatever cost you choose, which isn’t really what the plugin was created for but doable nevertheless2 February, 2017 at 4:26 pm #25205AnonymousI understand you. Thanks for your Workaround. It fits to my needs. Important is the handling for the Order user stay easy as it is.
Ok the Handling for admin is a bit harder but its ok for me.2 February, 2017 at 4:30 pm #25206>Important is the handling for the Order user
i agree2 February, 2017 at 11:03 pm #25210AnonymousMuch Thanks Olly, it took me half a day to setit up (cause big amount of ingredients but it works fine now. Good night.
2 February, 2017 at 11:10 pm #25211did you use the copy function ?
shouldn’t take that long (unless there are 100’s or 1000’s)3 February, 2017 at 8:23 am #25213AnonymousYes i use the copy function. At the beginning i was on the wrong way and create 3 same size IDs. After that i found the right way. Most time i lost to find the right adjustment on ingredients.
But now i got it how i want it. Greate. - AuthorPosts
- The topic ‘Different number of free ingredients for different menu size’ is closed to new replies.