Olly

Forum Replies Created

Viewing 20 posts - 821 through 840 (of 4,441 total)
  • Author
    Posts
  • Olly
    Admin & Mod

      some general things
      – i would think you just updated to php 7.x
      – you should never output this things but log them instead see enable debug here https://docs.wp-pizza.com/troubleshooting/
      – your first site you are referring to is using an about 2 and a half year old version of wppizza
      – i cannot see this warning on your second site

      in particular:
      although i can quite easily get rid of this warning too (and will do) in the next update
      my guess would be there’s something underlying that’s not quite right, like either your php sessions dont work and/or you have no gateway enabled (although by default that should not cause any issues either) or some other things have been disabled perhaps ?! (I cannot tell – as mentioned, i cannot see this issue on your second site to start off with)

      in reply to: Stripe Inprogress Problem #45753
      Olly
      Admin & Mod

        anything in your debug.log ?
        https://docs.wp-pizza.com/troubleshooting/

        are you displaying the credit card fields inline or do you re-direct to stripe for checkout ?

        if the latter, have you added the webhook in your stripe account (as explained in the plugin settings) ?

        in reply to: Disable single menu item page #45649
        Olly
        Admin & Mod

          I have of course no knowledge of the exact inner workings of googles algorithms (or any other searchengines for that matter)
          so I may be off base here, generally though and as far as I am aware they do not index pages that are not linked to from anywhere.
          So my first question/guest would be that perhaps you have some sitemap indexing plugin installed that indiscriminately indexes pages of your site and adds them to the sitemap regardless of whether that’s a good thing or not.
          Typically sitemap generators should also be able to let you specify which pages/posts/custom post type to index so if you are using this kind of plugin , that’s where I’d look first.

          As mentioned though I do not know the inner workings of google et al, so perhaps there is also some other source where and how searchengines find all your pages , even the ones you are not linking to from anywhere on your site, so not withstanfing what I said about sitemap plugins, I would suggest one of the following 2 options

          a) (kind of the opposite of what you are asking , but for completeness sake)
          *DO* in fact create some single pages that work with your theme as outlined here, ( https://docs.wp-pizza.com/developers/?section=wppizza-markup-single-single-php ) so the single item pages also allow products to be added to the cart (might even be beneficial from an SEO perspective)

          b) disable those single item pages by adding the following filter to your functions.php
          (a basic filters overview can be found here https://docs.wp-pizza.com/developers/?section=filters-actions-functions)

          
          //option1 : redirecting to homepage 
          add_filter('wppizza_filter_cpt_args', 'myprefix_myfunctionname');
          function myprefix_myfunctionname($args){
          $args['publicly_queryable'] = false;
          return $args;
          }
          //option2 : will result in a 404
          add_filter('wppizza_filter_cpt_args', 'myprefix_myfunctionname');
          function myprefix_myfunctionname($args){
          $args['publicly_queryable'] = false;
          $args['query_var'] = false;
          return $args;
          }
          

          (adjusting myprefix_myfunctionname as per your liking). If using one of these 2 filters, you should also re-save your permalink structure in WordPressAdmin -> Settings -> Permalinks ([your.domain.com]/wp-admin/options-permalink.php) after adding

          Hope that helps

          in reply to: Cart issue #45647
          Olly
          Admin & Mod

            >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…)

            in reply to: Order History, Opening Times and some other things disappeared #45494
            Olly
            Admin & Mod

              good stuff. glad to hear it

              Olly
              Admin & Mod

                >..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

                in reply to: Order History, Opening Times and some other things disappeared #45484
                Olly
                Admin & Mod

                  are 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 )

                  Olly
                  Admin & Mod

                    what does the “Wppizza->Access Rights” screen look like ?

                    in reply to: Undefined variable: order_id #45368
                    Olly
                    Admin & Mod

                      can you provide a link to the page where you are seeing this please ?

                      in reply to: Reports Page White/ Empty #45340
                      Olly
                      Admin & Mod

                        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 )

                        in reply to: Print Half Half Pizza Values #45272
                        Olly
                        Admin & Mod

                          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 etc

                          the show_ingredients_in_order() or show_ingredients_in_plaintext_templates() functions/methods in the plugin will perhaps help you along

                          PS: 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 ….)

                          in reply to: Hyde default ingredients from order summary #45266
                          Olly
                          Admin & Mod

                            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.

                            in reply to: Hyde default ingredients from order summary #45221
                            Olly
                            Admin & Mod

                              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 ?”

                              in reply to: Reports Page White/ Empty #45185
                              Olly
                              Admin & Mod

                                have you enabled debug / checked your debug.log
                                https://docs.wp-pizza.com/troubleshooting/

                                in reply to: Content of last checkout page is doubled #45136
                                Olly
                                Admin & Mod

                                  >but somehow now it does not work.
                                  then you probably have some javascript errors somewhere .
                                  have you checked your browser console ?

                                  in reply to: Content of last checkout page is doubled #45123
                                  Olly
                                  Admin & Mod

                                    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…

                                    in reply to: Content of last checkout page is doubled #45122
                                    Olly
                                    Admin & Mod
                                      This reply has been marked as private.
                                      in reply to: Content of last checkout page is doubled #45120
                                      Olly
                                      Admin & Mod

                                        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

                                        in reply to: Content of last checkout page is doubled #45114
                                        Olly
                                        Admin & Mod

                                          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)

                                          in reply to: Confirm SMS Text #44906
                                          Olly
                                          Admin & Mod

                                            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 this

                                            see 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 )

                                          Viewing 20 posts - 821 through 840 (of 4,441 total)