Forum Replies Created
-
AuthorPosts
-
>There are a few modifications
there are more than “a few” from what i can see (the whole dbp plugin seems to have been changed – that’s fine of course as such, but i wont debug this)on a more fundamental level :
have you enabled debug ? what does your debug log say ?
have you disabled all other plugins / switched to a default theme ?
when you do, do you have the same issue ?(PS: apologies for the late reply , for some unknown reason I did not get any notifications of this new topic…)
12 November, 2019 at 11:22 pm in reply to: Order History, Opening Times and some other things disappeared #45494good stuff. glad to hear it
12 November, 2019 at 5:23 pm in reply to: Order History, Opening Times and some other things disappeared #45487>..i even added an extra role called tempAdmin and assigned all rights – didnt work either…
WP doesnt work that way.
see https://plugintests.com/plugins/wppizza/latest
at the bottom of that page are all the capabilities the admin should have.
once you(the admin) have restored access to the “access rights” link you probably want to go to that page , check the settings for each role and save it (in fact, save it 2x , just in case , as you are setting things that probably not yet exist. Not sure this is strictly necessary, but wont hurt)seems like something destroyed some of them assigned to your user(s) if you are saying you used to see all tabs, but some went missing
12 November, 2019 at 11:53 am in reply to: Order History, Opening Times and some other things disappeared #45484are you the administrator of the system ?
what tabs *do* you actually have access to ?
do you have some access rights manager installed ?
when you are saying “since a while” – what did you do when this happened ? (i.e installed some other plugins – notably above mentioned access rights manager – if any )12 November, 2019 at 2:54 am in reply to: Order History, Opening Times and some other things disappeared #45478what does the “Wppizza->Access Rights” screen look like ?
can you provide a link to the page where you are seeing this please ?
you are simply running out of memory and also have a ton of fatal errors
both of which can cause your pages not to load .
(not to mention the 1000’s of other PHP notices / warnings )that’s because you are only getting the first half/quarter
the …[‘multi’][1] (why the quotes around the 1 ???, it’s an integer….) is the first half/quarter
so you need to loop through those first of all as in – simplistically speaking – [‘multi’][1], [‘multi’][2] etc etcthe
show_ingredients_in_order()orshow_ingredients_in_plaintext_templates()functions/methods in the plugin will perhaps help you alongPS: although quite a while away yet, the whole plugin is in process of being re-written / redeveloped to get rid of some of the convolution that has been added over the years by adding ever more and more options, so the above might not be at all applicable anymore when this gets released (will be something like v6.x . plenty of notice will be given and betas will be made available ….)
If it’s selected by the user, it’s shown in the details. There’s no way to change this
The only way to do things vaguely as you describe (assuming I understand you correctly) is to *not* preselect anything, but make ingredients available as “No Salsa Ranchera”, “No Queso Cheddar” etc.
So if someone does not want “Queso Cheddar”they select that option and it shows up as “No Queso Cheddar”, otherwise – the default – would be for it not to be displayed at all.you cannot hide any selected ingredients as such (i.e if it’s selected, it’s shown)
however, you can add a “No xyz” if a preselected ingredient was de-selected by setting the relevant options in the plugin in the options tab under
“Show de-selected pre-selected ingredients ?”have you enabled debug / checked your debug.log
https://docs.wp-pizza.com/troubleshooting/>but somehow now it does not work.
then you probably have some javascript errors somewhere .
have you checked your browser console ?having had a quick test here, i get the same result (i.e multiple checkout pages if using that shortcode on the order page)
as – in large parts and for consistency – that particular shortcode uses the same coding as the actual orderpage I really do not know if this is doable, but i’ll give it a go but as mentioned I cannot tell you when or if this will be possible I’m afraid…This reply has been marked as private.ok. thanks for narrowing things down
the shortcode[wppizza type=orderhistory]is really designed to be on its own page.
that said, i can somewhat see why one might perhaps want this to be on the orderpage too (though generally – in myopinion only though admittedly – once a customer is on the orderpage I am not sure if it’s such a great idea to confuse the customer with more stuff on the page that might stop him/her from completing the order right there and then . again, just my 2 cents)In any event, i’ll see what i can do. it will have something to do with some ajax call executing multiple times, my guess being you get 3 times that page if you had 3 previous orders, 4 times if you had 4 previous orders and so on
Cannot give you an ETA though right now when (or even if) this will be doable I’m afraid
without a url i cannot say anything other than the usual:
i.e do you get the same issue when truning off all other plugins and using a default theme ?regarding cloudflare, can you send me a screenshot of what you are seeing (as i need some info displayed there to help to track things down , thanks)
You won’t find it in the “WordPress Environment” or in any directory. That’s not how WordPress filters work .
You must familiarize yourself with thissee here for a starting point
https://docs.wp-pizza.com/developers/?section=filters-actions-functions
– or in fact any WordPress actions/filters tutorial you can find with a quick search(at the most basic level, the filter/code above belongs into your [child]theme’s functions.php )
I assume you are referring to the Confirm/Reject/Notify plugin (you did not say) so I created a forum(s) for it that did not exist. Thanks for pointing that out.
Regarding your question, the CRN plugin has a filter you can use to add your branding like so (as you know, this will only work if using one-way communications):
add_filter('wppizza_crn_sms_branding', 'mysmsbranding'); function mysmsbranding($sms_sender_id){ /* overwrite sender id as required (here set to MyShop123 ) a-zA-Z0-9 (and spaces) only, 11 characters max */ $sms_sender_id = 'MyShop123'; return $sms_sender_id; }(not tested as such, but should work I would think)
simply go wppizza->reports , set the range you want and export
(PS: I am aware that – currently – the Range selector dropdown at the top left on that page only works when using the keyboard and not when using the mouse to select from one of the available options. That will be fixed in the next update of the plugin)WPPizza adds (additional – depending on what you have enabled in wppizza->order form) user fields to default wordpress fields via the filters wordpress has available (as you can see in your admin->users->your profile)
If the registration plugin does not display those fields you will have to speak to the author of that plugin .
My *guess* would be – though I cannot be sure as i know nothing about that plugin – they are simply using the default fields wordpress has but completely ignoring filters that allow to add to those ) -
AuthorPosts