Olly

Forum Replies Created

Viewing 20 posts - 841 through 860 (of 4,430 total)
  • Author
    Posts
  • in reply to: How make a new line between customer tags and values #46108
    Olly
    Admin & Mod

      > I have this problem in many thermo printers.

      I am sure you do.

      <rant>
      (the majority of) thermal printers are technologically still stuck in the 80's 
      from what I can tell
      All I (i.e wppizza) can do is output valid, standard html and/or plain-text 
      documents (and with the pdf plugin pdf's too - as attachments) that can be 
      send to and printed by a/the printer. 
      It is completely out of my hands as to what the printer does with this 
      when printing.
      
      From what I can tell, most thermo printers simply do not follow *any* standard 
      and/or do their own thing as to whatever the company has dreamt up at the 
      time the format should be without any consideration at all as to any standards.
      Afaik, in many cases one cannnot even select the most basic things like  fonts or fontsizes , 
      let alone anything more specific....
      
      I must admit, I find the arrogance/laziness (call it what you will)  
      of printer manufacturers on that front quite staggering to be honest .....
      
      (i could rant on about this for quite a while here, but it wont help you of course, 
      so i wont ------- for now :))
      </rant>

      So, that off my chest (sorry) back to the issue at hand:
      (You did not address this question) – Did you try setting your template you are using for printing to plaintext ?
      is the output better/worse ?
      perhaps could you post a screenshot of both outcomes ?

      Btw, I’m not trying to be difficult, just trying to find the most appropriate workaround/solution to what really should be someone elses problem (I’m referring to printer manufacturers here, please don’t take this as a dig at you !)
      to perhaps come up with something that helps not only in your particular case but might be generally useful for others too coming across this post…..

      in reply to: How make a new line between customer tags and values #46092
      Olly
      Admin & Mod

        although theoretically doable, i cannot see how this could help

        in a nutshell, the html output is something like this

        
        ....
        <tr><td>some label</td><td>some value</td></tr>
        ...
        

        so just adding a <br> before/after the label / value will still keep it all in their own table column
        adding a <br> after the closing </tr> is simply invalid html (and will therefore in most cases be ignored probably anyway)

        are you sure your printer can actually print html in the first place ?
        have you tried using a plaintext template with that printer ?

        in reply to: How make a new line between customer tags and values #46050
        Olly
        Admin & Mod

          the print templates print what you have set up in wppizza -> templates -> print (or “emails” if your printer prints from the emails received – depends on setup and what your printer “listens” to )
          if you want to change the order of things – i.e move things below some other things – simply drag and drop there and save

          btw, this is completely independent of what the confirmation page shows (which follows the settings in wppizza->order form)

          in reply to: Googlce Cloud Printing Template #46034
          Olly
          Admin & Mod

            the default [html] templates (in wppizza -> templates -> print) are set to 100% width – but feel free to edit this as you wish in the appropriate css declaration boxes there

            if you have not changed the css at all then you will have to ask your printer manufacturer as to why it does not print html as instructed.
            however, you should make sure your html and your css is actually valid html/css (i.e all tags are closed properly etc)

            there is also a bunch of info here
            https://support.wp-pizza.com/topic/question-google-cloudprint/

            Olly
            Admin & Mod

              sorry for the late reply…i had actually missed this (but now know of course)

              other than using a printer that can connect directly to email accounts for example, I cannot see any other equivalent solution anywhere that would allow us to do what google cloudprint does. so this is a bit , errm, annoying (to say the least)

              i live in hope that perhaps someone else will pick up the pieces (IBM, facebook, MS anyone really with the resources) and we can continue using it after 2021 – or perhaps google will change their mind. This change will affect 1000’s of servers/sites after all …..

              if anyone else reads this and has some idea as to how to replace this , I would be more than happy to hear it.
              I couldn’t find anything myself that allows to print directly from a website to a network printer without having to have some computer in the middle turned on all the time (and that’s not propriotory and only works for one set of printers…)

              again, any ideas would be appreciated on that front

              in reply to: PayPal Plus #45988
              Olly
              Admin & Mod

                at some point in the not too distant future i want to look at and update the paypal plugin
                but as it works as it is, and there are other things more pressing that need looking at, i cannot give you any ETA as to when this will happen I’m afraid

                in reply to: Error : 20002 #45895
                Olly
                Admin & Mod

                  i would also suggest you turn on debug too and check your debug log
                  https://docs.wp-pizza.com/troubleshooting/

                  in reply to: Error : 20002 #45894
                  Olly
                  Admin & Mod

                    if this shows up (unless someone is trying to mess around with some html values) it’s because – most probably – your php sessions are not working and/or you have database errors and/or you are caching the orderpage

                    without a link to the site where this can be seen , I cannot say much more though

                    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.

                                          Viewing 20 posts - 841 through 860 (of 4,430 total)