Forum Replies Created
- AuthorPosts
-
yeah i know,
it’s not the most intuitive way of editing/filtering (other than actually changing the template directly)must do something about this in the not too distant future.
as it stands though, its a matter of using a filter (which i will keep regardless…in the future too… so as to not break things when i get round to make things better so to speak)
give me a bit (i guess will be tomorrow now) and i’ll post an example
can your server actually send emails ?
secondly, i would suggest you turn on debug by adding this to your wp-config.phpdefine('WP_DEBUG', true); define('WP_DEBUG_LOG', true); define('WP_DEBUG_DISPLAY', false);
and check if there’s anything in the wp-content/debug.log
also, using phpmailer (i.e 3rd option in mail delivery) might give you more detailed errors
6 November, 2014 at 3:26 pm in reply to: why you need to load JS if you disable the order option #60226 November, 2014 at 2:03 am in reply to: why you need to load JS if you disable the order option #6013then again, if you are certain you do not need any of this, you can always dequeue scripts
6 November, 2014 at 1:54 am in reply to: why you need to load JS if you disable the order option #6012because other plugins/customisations might depend on it
in any case, loading about an extra 35kb is neither here nor there in most WP scenarios (after all, jquery itself is about 100kb at a minimum,)
generally speaking though, i’m all for keeping loading of unnecessary external files to a minimum if at all possible
you have a javascript error on that page
Uncaught TypeError: Cannot read property ‘offsetWidth’ of null which stops the execution of any other js dead
from what i can ascertain, that’s thrown by
http://maps.gstatic.com/maps-api-v3/api/js/18/14/main.js
which is being called from
//maps.googleapis.com/maps/api/js?sensor=false&ver=3.9.2in short though , i hazard a guess the error comes from the script looking for a google map that does not exist on that page
so don’t load the script when there’s no map (or of course just put a map on there)
if it’s part of the theme you are using in some way, then tell the theme developers to not load the script when there’s no map (assuming my assumptions above are correct)
additionally , there seems to be a lot of js minification going on which might – or might not – be the cause of the troubles
for starters, if possible in your theme, i would try to turn this minification off and see what happens without it or move the
//maps.googleapis.com/maps/api/js?sensor=false&ver=3.9.2
script to the very bottom after everything else (so the error gets thrown after everything else had a chance to do it’s thing)
the only way to do this sort of thing is with this:
https://www.wp-pizza.com/downloads/wppizza-add-ingredients/as an example (use your imagination a bit assuming that “bacon” “cheese” and “eggs” etc are some of the items you want be able to select from)
https://www.wp-pizza.com/topic/any-user-manual-or-user-guide/#post-5347
see also previous message regarding more examples etc
btw, you cannot exclude single selected items from delivery.
either you deliver , or you do not>other restaurant owner wants don’t need to hide any menu items because all the items can be selected in the “Business Lunch” deal from 12:00 – 17:00
how would that stop anyone ordering the business lunch deal after 17:00 if you do NOT make it un-selectable so to speak ? (unless of course he is closed before 12:00 and after 17:00 anyway)
ok, i understand now .
and you are right , it does not let you do that at the moment.
however – as we speak – I am working on something that will let you do this and moremight be a couple of weeks or so yet though
just re-read your original question and i think i (partially) misunderstood what you are after.
the timed menu does just that – i.e. it makes menu items available at a given time
you seem to also want to “chain” menu items so to speak, i .e
business lunch ->choose a or b + choose c,d, or e etc
which you could do with the “add ingredients extension” (although it does not allow you to select from already existing menu items, you could define menu items as “ingredients” so to speak)
a lot of examples and general stuff can be found here
https://www.wp-pizza.com/forum/add-ons/extensions/add-ingredients/
https://www.wp-pizza.com/downloads/wppizza-add-ingredients/and some demos here
https://www.wp-pizza.com/twentytwelve>in multisite i cant use shortcode with item id because the id will be different on every blog.
how is that a problem ?
presumably every site in your multisite setup is a separate site (otherwise what’s the point of a multisite setup in the first place ?)>or if you can help me with my sagesten that i have wrote you before it would be great.
assuming “sagesten” is a typo and you meant “suggestion”:sorry , but no, i am not doing customisations for you . that’s your job.
i have enough to do as is supportings what’s there and – in any case – there are already a ton of codesnippets you can use as a starting pointfurthermore, looking at the link you sent me to your site a while back , i cannot see any duplicates in the source of the page, so I don’t know what your javascript you are referring to is actually supposed to be doing
however, if it works for you than that’s fine by me
how is your code js ?
in any case, i used a non customised version of your theme and it works fine.
if this really were the case / a problem, i am sure i would have heard from other about this by now…if someone else reports this too, I shall check again – nobody is perfect – but as it stands i can’t see anything that needs fixing my end
I fail to see why this would not work from what you are describing
– create a menu item with whatever prices / info / description etc
– create a page with a shortcode that only displays that item
– set the timed menu to make this item only available at certain dates/times.job done
i am probably missing something, so can you explain to me the necessity of this ?
a common scenario surely would be this.
– normal price of item a: 5.99
– i want it delivered : add delivery charges of x.xx (or not)
– i pick it up myself at the restaurant -> get x.xx discount (or not)
– i am actually eating at the restaurant -> i ask the waiter for the bill and pay him (without going to a website to do so ) where the waiter can of course also apply a discount if required / offeredmust admit , I’m not understanding the requirement (or indeed the question) here, but feel free to elaborate of course
This reply has been marked as private.sounds like you might be looking for this sort of thing
This reply has been marked as private.I said a couple of things in private above.
in short though, i would need to know what the original theme is your customised version is derived from to see if this issue is there too or just in the customisationThis reply has been marked as private.you already have a new formfield in localization where you can type in the stuff you only want to have displayed in the initial orderpage…(before submitting)
as of v2.11.4
- AuthorPosts