Forum Replies Created
- AuthorPosts
-
hi,
that opening times widget is really only a simple helper. there are so many different ways to display opening times, that I don’t think I will spend any time to account for all those option programmatically (not anytime soon anyway).
So if you want to display your opening hours in a specific way other than how they would be displayed with that widget, you’ll have to just write and display them somewhere as you need them, sorry.
PS: I might have a look into at least account for the start of the week as set in the general wp settings, but that’s not going to be very high on the agenda at the moment
3 October, 2014 at 5:03 pm in reply to: additional field after selecting any menu item „Extra wish“ #5439>OR a textfield in Ingredients Window
already part of that extension….(just select –add textbox- from the dropdown in custom groups)
no worries.
will be fun (and probably useful to others too)
might aven be able to do this by tomorrow (unless unforeseen things crop up), but allow me a few daysi’ll keep you posted (there might be a couple of things you might have to be aware of…will let you know)
although you could mess around with the arguments in the ‘wppizza_filter_loop’ filter, it won’t loop over that page to show you all the headers (i.e. category names) all it would/could do is to show *all* items on one page. so this will only partially be helpful.
(essentially you’d be changing the query , but that doesn’t affect the header)easiest thing to do – and i wanted to do that for a while anyway but never got round to it – is for me to add the possibility of a shortcode that allows all categories to be displayed , so you dont have to think about it again. might take a couple of days though, depending on what else crops up.
while I’m at it, I might as well also add a class to the headers and articles that references the selected category – probably by id as the navigation has this already as id’s – which should help you in the second scenario when you need to show/hide things
although the navigation widget/shortcode was only meant to be used if you use templates, it should work in your scenario too…..(with a bit of creative js, showing/hiding things depending on class/id)
>there is some filter or loop to change that?
I might be wrong of course, but it sounds to me like you are using option 1 here
https://wordpress.org/plugins/wppizza/installation/
when you might want to consider option 2 perhaps (although this in turn might not suit your scenario. dunno . all depends on how you want to put things together)having said that – and thinking out loud for a bit – i suppose i could add/amend the shortcode attributes to automatically show all categories which is actually not a bad idea to start off with really to have that option….
>re2:
you will *always* need a parent of some sort (assuming that i understand you correctly)
this is not down to the plugin, but down to wordpress
again, depending on how it’s setup:the parent can be whatever you like though.
so this will work:
http://www.domain.com/somepagenameslug/pizzas
http://www.domain.com/somepagenameslug/pasta
etcthis:
http://www.domain.com/pizzas
http://www.domain.com/pasta
etc
WILL ONLY WORK IF you create those pages (i.e pizza and pasta) and then put the relevant shortcode on it
(of course in this case you will have to add new pages whenever you create a new category, so it presumably is not an option for you and i’m just saying this here for completeness sake)i don’t understand the following though (I’m probably missing something):
>to be only #cat name..
the category slug IS the cat name…(unless of course you changed the slug), no ?>1 how to print all menu items…
just put multiple shortcodes on the page
>2. how to use categories navigation without reloading the page?
you’ll need to write some script that does that
alternatively, put all the shortcodes on their own distinct pages and use/find a theme that loads all pages in one go and then just shows/hides whenever the appropriate link is clicked.
i know there are some / have seen some , but off the top off my head i don’t know which onegenerally speaking, your theme controls the size of the item title (on the h2 tag)
practically speaking, you could override this on the item titles particularly with plain css declarations.i.e something like
.wppizza-article-title{/*put your desired font size here*/}
30 September, 2014 at 10:07 pm in reply to: Emails not showing up from paypal gateway settings #5387https://www.wp-pizza.com/paypal-gateway-extension/ ->troubleshooting
on top of that i just noticed, when uninstalling it leaves all it’s junk in the database
that Captain Hour plugin decided that it’s a good idea to change the server/php timezone settings dynamically (and does not reset them when it’s done with whatever it is it’s doing)
i cannot even begin to tell you how bad an idea this is…..
that’s something they have to fix. got nothing to do with me
as it’s a premium plugin i can’t check this, but feel free to send a copy of it to dev[at]wp-pizza.com and i’ll check
first thing to check though.
did you set your timezones correctly ?>Why would he not get a few and I am getting a copy of them all?
very good point. you will have to speak to whoever deals with your emails and see what delivery reports/logs say etc…
maybe some got junked for some reason ?really nothing i can do my end I would have thought…..
right then , as of v4.5 you can now do this (might need some tweaking depending what exactly you need and how exactly you want this setup, but it should give you the idea)
please note – as of v4.5+ :
although this filter is still part of the plugin/extension (in case you want to do something really funky) if you want to custom sort the order of ingredients the way you like, you can now just drag and drop to get the order you desire….there you go
a) a bunch of ingredients
ingredientsb) custom group 1,2 and 3
group 1
group 2
group 3c) outcome
https://www.wp-pizza.com/twentytwelve/ -> make your own pizza>Thanks for looking into this.
no problem, was kind of fun
and if you have way too much time on your hands, you could,
with some css, even change the + to a – as those symbols are actually css controlled and all have their distinct id’s on the li wrapper>So they would click on an ADD button to say they don’t want something on the sandwich.
matter of opinion i guess. they are just clicking on a button that has a label next to it saying “no cheese” so the are effectively adding the “no cheese” option
I cannot really see this as being an issue or confusing .
and if you set the label of that group to something descriptive (like “select the things you dont like” or something it should be even more obvious>… there is no need to repeat the pre-selected ingredients for each sandwich as the restaurant knows these….etc
hence why my suggestion would work nicely. only changes would appear if nothing’s added or removed its just the menu item title. no preselection necessary.
so, whilst currently adding some other options to that extension, I also had a think about whether it would be possible (or advisable) to integrate something that let’s you do this sort of thing you mentioned.
In short, although this would most likely be doable programmatically it would just confuse the hell out of people (and that’s not only the admin who would have to set this up but customers too I think)
It did however occur to me, that there is actually quite an easy answer to this I believe
As i understand it a “smos hesp & kaas” has the following
lettuce, tomato, cucumber, sliced egg and mayonnaise – and in this case cheese too.
so , as a customer if i want one of those i don’t expect to actually have to add those ingredients/toppings myself (otherwise it would just be some bread and I choose what i want on it)
so instead of preselecing things (which then would appear in this list of added toppings which as a customer would confuse the hell out of me ) I would make a list of DE-selecting things.
so add the following ingredients
no lettuce,
no tomato,
no cucumber,
no egg
no mayonnaise
no cheeseset the prices for those to zero (hey , you could even make them negative if it’s supposed to become cheaper if you omit some)
then put those in a group naming it “dont want these ?” (or something)
select the following group type:
“Group must have *AT LEAST* minimum number of ingredient selected below (multiple allowed – but no more than 1x per ingredient)”set minimum and maximum to 0
and then assign it to the “smos hesp & kaas” menu item
now only when a customer selects one of these (i.e says “no cheese” for example) will it show up in the list of “added” ingredients as “no cheese”…..
PS: i would also assume that the menu item itself in the description already states that it has lettuce,tomato,cucumber,egg ,mayonnaise and cheese , just like any dedicated pizza napoli for example says :olives, tomatoes , mozarella etc (or whatever belongs onto a pizza napoli)
> Is there a way to do this?
out of the box so to speak: no (not at the moment anyway)
however , you could use some filters and action hooks
these 2 in combination https://www.wp-pizza.com/topic/filter-options/ should let you do that
you would probably have to dynamically set this $option “order_pickup” in the “wppizza_filter_order_summary_options” filter dynamically as well as deciding what to do depending on what items the user has added to the cart(session) with this filter “wppizza_filter_order_summary_session”
- AuthorPosts