Forum Replies Created
- AuthorPosts
- 5 September, 2018 at 2:41 pm in reply to: ingredients to add / change ingredients does not appear in Settings. #39071
PS: which version of the add ingredients plugin are you using (just to make sure you are not using some old , outdated version to start off with)
This reply has been marked as private.4 September, 2018 at 11:44 pm in reply to: ingredients to add / change ingredients does not appear in Settings. #39055not sure i understand the question
what choice exactly does not appear?
or – in other words – what are you expecting to see but are not seeing ?the issue i’ve been talking about HAS something to do somewhat with using arrow keys / enter keys / tab keys etc
whether or not this will be exactly your issue i cannot tell you right now.
i’d suggest updating to the latest update when it’s available and check it then (and – in fact – let me know either way afterwards )it’s a bit of a trying to narrow things down somewhat (there are almost countless ways to interact with this thing with the setting of various options)they can be found in the edit screen of each item
see example screenshot here
https://www.wp-pizza.com/wp-content/uploads/edd/2014/09/ai-admin-enableperitem.png>Please watch my uploaded video and test again. I tested it on multiple desktop browsers (Chrome, firefox, safari) on both Mac and PC, the problem still exist.
did exactly that on your staging site
i.e typed in “122 marin pl” then simply used the mouse to select the address from the dropdown available there . again , this worked just fine so cannot reproduce that particular issue (then again , in your video i cannot see any selection by the mouse on the dropdown , though that might be because of the way the video capture worked)However, when messing around with things i did find something that *might* explain what you are seeing in your setup/scenario – even though I cannot reproduce this from here
give me until later today or tomorrow to make an update of the postcode plugin available and test things with that update. *perhaps* this will sort out your issue (and if it does not , at least I am certain it will fix some issues that might occur for others now or in the future)
>Were you using your desktop to reproduce issue? Seems like there’s no problem on mobile but desktop browsers are still not working.
yes, i did use a desktop …. without issues
a) post_theme_setup is not hooked into / called by *ANY* wppizza plugin
b) you are using wppizza_on_order_execute v2 coding with v3 of wppizzahttps://docs.wp-pizza.com/developers/?section=action-wppizza_on_order_execute
in fact i am even surprised that your coding works at all – i would suggest – for starters you get rid of
$order = new WPPIZZA_ORDER(); $order = $order->session_formatted();
as you are overwriting the whole purpose of having this as parameter in the hook in the first place
furthermore
add_action( ‘wppizza_on_order_execute’, ‘print_order’, 1);
should be
add_action( ‘wppizza_on_order_execute’, ‘print_order’, 1, 3);if you want to access all 3 parameters
please refer to the wordpress codex regarding priorities and (number of) parameters of filters/action hooks
Hi
I will take the liberty to copy the essence of the issue here publicly so if anyone else comes across this topic it is somewhat easier to follow
—quote—
You can try typing in this address.
“122 Marin Pl”, then select the address from the google dropdown. In this case it would show the error.
If you try typing “122 Marin Pl, Woodland”, then everything is fine. FYI, Woodland is the name of the city.
————essentially , this – usually – has to do with how google returns addresses from the input dropdown
although you see whole address lines in the input box (none, one or multiple)
addresses are being split into – among other parts – housenumber, streetname, locality , zipcode etc
if for the selected address google does not return the housenumber part (as is the case with some addresses) the system says “ambiguous” as it is being made mandatory that a housenumber of some sort exists , else one would never know where exactly an order should be delivered to.regarding your particular case however , i cannot reproduce what you are describing.
when i type in “122 Marin Pl” and select from the dropdown i do not get any error at all and it works just fine from what i can seeIn fact, selecting from the dropdown would be the most reliable way of selecting an address and your place holder that states “Input your address. Please don’t select from the dropdown” would seem to me to pretty much defeat the point of using this whole thing in the first place.
of course, if google offers an address in the dropdown this is *outside* your set delivery area, then – naturally – selecting this *does* throw a “outside delivery area.. etc ” notice
I will also play with a couple of things here on my install locally with your addresses . Maybe i can force some problems somehow , but at the moment i cannot really see too much of an issue other than what i mentioned above regarding housenumbers etc generally
PS: I did also notice that your pages are minified, if not also cached. perhaps you have still something in your borowser cache that makes things throw erorrs you end ? When plygin around on your site I am also getting a ton of google maps js errors in the console (although as mentioned , the address selection works just fine for me)
have you tried – at least temporarily – to remove all caching and minification ?
ok
2.15 is about 3 years old now !
letters etc as additives numbering was added about a year and a half ago (since v2.16.11.22 )>is there a solution for letters in our Version?
no.there isn’t really any provision for that in the plugin at the moment (other than skipping the installation of default items and categories entirely – see install constants here : https://docs.wp-pizza.com/developers/?section=wppizza_install_constants)
but i’ll make a note of that idea and perhaps add a couple of filters in the next update that would allow you to overwrite the default items/categories etc)
that’s is a completely different issue and my guess is you simply did not enable any gateway
no gateway-> no order button (as you wont be able to order anything if you have no payment method to choose from in the first place)>How do I go about changing that?
you don’t . as that’s automatic and will always be “on” so to speak as an email must be set to be able to register and receive your passwords etc (maybe one could relabel it to “auto” one day or something)that’s what wppizza -> reports is for
sorry, but there’s no provision for this sort of thing
as i remember that this has once cropped up in the (distant) past, i might add such an option at some point , but cannot give you any ETA as to when (or even if) this will be addedyou could probably use this one
add_filter('wppizza_fltr_delivery_charges', 'my_function', 10, 2); function my_function($delivery_charges, $items){ /* do your thing here based on $items */ return $delivery_charges; }
>Thanks Olly I got it sorted.
good stuffi’ll have a look if there’s something that could be done to dynamically change the “opening times above the cart” too somehow at som point perhaps (though not very hopeful as that’s quite a static thing)
to be honest you are probably better off not to display those in the widget and simply write something in freeform text somewhere regarding pickup and delivery opening times
only your host/server admin will be able to tell you why it throws a 403
what i can tell you is this thoughthe wppizza.grid.css.php dynamically generates the css as per your settings and has a content type of
header(“Content-Type: text/css”);
it *might* be the case that due to the fact it’s a php file but with a text/css header your server throws the 403
it *might* also be the case that dues to the above your file permissions for this file have to be differentbut again, only your server admin will be able to track down (by looking at log files etc) why exactly the issue exists
- AuthorPosts