Olly

Forum Replies Created

Viewing 20 posts - 3,541 through 3,560 (of 4,431 total)
  • Author
    Posts
  • in reply to: Variable Prices #8532
    Olly
    Admin & Mod

      if you get an internal server error you CLEARLY got some error somewhere.
      enable debug , it might help you
      (my guess is you have a rogue space somewhere or a closing bracket too many/ too few)

      in reply to: What size is the HTML order header ? #8531
      Olly
      Admin & Mod

        a) you didn’t email me any header as far as i know
        furthermore, i am not here to teach the most basic things of webdesign.
        try google if you do not know how to get pixel sizes

        b) >I would like to create a custom on
        i am not stopping you

        in reply to: Variable Prices #8528
        Olly
        Admin & Mod

          sounds more like a coding error your end to be honest.
          i am using that exact same code here and it works just fine

          you need to find out what your internal error is

          in reply to: Variable Prices #8522
          Olly
          Admin & Mod

            already there….

            in reply to: Variable Prices #8520
            Olly
            Admin & Mod

              as you noticed, the prices fields only accept prices.

              however, as of v2.11.8.6 (should be available in a couple of days or so) you will be able to add this to your themes functions.php

              
              add_filter('wppizza_filter_output_format_price','my_function');
              function my_function($priceformatted){
              	/*get rid of any formatting first and cast to  integer*/
              	$price=(int)str_replace(array(',','.'),'',$priceformatted);
              	/*if zero, display some text instead*/
              	if($price==0){
              		$priceformatted='some text';/*set this to whatever text you need to be displayed*/
              	}
              	
              	return $priceformatted;	
              }
              

              note: this is only advisable like this if you do not offer any actual ordering – as you said you don’t – and it applies to *all* menu items with a price of zero – though you could set the one it applies to to an impossibly high price (let’s say 99999.00) and do if($price==9999900){ etc. otherwise you’ll have to jump through some more hoops

              hope that helps

              in reply to: A page dedicated to deside delivery/collection #8513
              Olly
              Admin & Mod

                fyi:
                regarding option to select self-pickup on the popup.
                i haven’t forgotten, just keep finding little things when adding and testing this that need fixing or could be better

                in reply to: Regarding mobile view #8512
                Olly
                Admin & Mod

                  as of 2.11.8.5

                  >Have a setting to allow the mini-cart to be either displayed on top or bottom

                  sorry, i just hate it at the bottom.
                  however, you can set/add a padding to the top of your body (in wppizza->layout->minicart) if it’s displayed so your navigation should move accordingly – if you really want it at the bottom, you could change the css to be top:initial, bottom:20px (or something similar)

                  >Have a button on there to ‘View Cart’
                  now optionally enabalable (is that a word ?)

                  in reply to: How to change the format of the HTML template order email #8490
                  Olly
                  Admin & Mod

                    i’m not stopping you.
                    have you ever tried searching this forum ? there are already a ton of examples and codesnippets

                    in particular this one
                    https://support.wp-pizza.com/topic/html-email-editing/

                    in reply to: SMS and Printer Integration #8481
                    Olly
                    Admin & Mod

                      for anybody reading this, please add your comments here

                      https://support.wp-pizza.com/topic/autoprint-sms-gprs-fax-orders/

                      in reply to: Question: Add Ingredients, mult price diff ingredients #8476
                      Olly
                      Admin & Mod

                        >BTW do you ever sleep ?
                        sleep is overrated…

                        in reply to: Question: Add Ingredients, mult price diff ingredients #8463
                        Olly
                        Admin & Mod

                          should be (reasonably) simple:
                          add your spaghetti, linguine, ziti and chicken to the list of ingredients for that collection of meal sizes and set the pasta types to be 0.00 and the chicken to be 3.00

                          add a couple of custom groups (one for the pasta types one for the chicken) as follows:

                          set/add a pasta types custom group to be a group type of “one only” (radio input) as – presumably – you can only select one of those, add the pasta choices there, and assign to your pasta items

                          use the second group to include the chicken choice – (set group type as appropriate) and also add/assign that to the relevant menu items…

                          does that help?

                          in reply to: Help, automatic printing incoming orders #8441
                          Olly
                          Admin & Mod

                            you will need to program that depending on your printer and the sms gateway you are using
                            so where it says :

                            
                            /**now implement however your sms/email2fax gateway implements things to send things to that tel/fax no**/
                            	//->send your sms to $customerTel		
                            

                            insert your code to do this

                            in reply to: Help, automatic printing incoming orders #8438
                            Olly
                            Admin & Mod

                              click on the links i posted above!!

                              in reply to: Help, automatic printing incoming orders #8435
                              Olly
                              Admin & Mod

                                you do not *change* any php, you use filters /actions
                                i already gave you the link to the action you need to use.

                                in reply to: Help, automatic printing incoming orders #8433
                                Olly
                                Admin & Mod

                                  hmm, any particular reason why you are asking me the same question 3 times ?
                                  i already replied to you yesterday as follows:

                                  you need a net/gprs/cloudprint enabled printer.
                                  please have a look around the forum, there already are lots and lots of topics regarding this

                                  and also, regarding coding this:

                                  you want to have a look here
                                  https://support.wp-pizza.com/forum/code-snippets/
                                  and probably here
                                  https://support.wp-pizza.com/topic/after-every-order/

                                  in reply to: shopping cart generating invoices and auto printing #8410
                                  Olly
                                  Admin & Mod

                                    good stuff..glad you figured it out (whatever it was)

                                    in reply to: All time slots showing when open. #8405
                                    Olly
                                    Admin & Mod

                                      >That’s not me loading the insecure content that is the theme setting
                                      i’m aware of that

                                      > timezone didn’t realise you have to set it in another location
                                      most of the time it’s fine without setting it and wordpress uses its own internal calculation.
                                      however, wordpress transients (that’s what the preorder thing uses to cache things) depend on that setting . if you just want something to expire in 4 hours , its fine either way, but if you calculate expiry time to be at 5PM for example from now , it goes awol (as 5PM server time !=5PM wordpress time if the 2 aren’t the same)

                                      in reply to: All time slots showing when open. #8403
                                      Olly
                                      Admin & Mod

                                        you also want to fix your insecure content

                                        http://fonts.googleapis.com/css?family=Oswald

                                        should be either
                                        https://fonts.googleapis.com/css?family=Oswald
                                        or just
                                        //fonts.googleapis.com/css?family=Oswald

                                        (and why are you loading it 2x anyway ?)

                                        in reply to: All time slots showing when open. #8402
                                        Olly
                                        Admin & Mod
                                          This reply has been marked as private.
                                          in reply to: All time slots showing when open. #8401
                                          Olly
                                          Admin & Mod
                                            This reply has been marked as private.
                                          Viewing 20 posts - 3,541 through 3,560 (of 4,431 total)