Olly

Forum Replies Created

Viewing 20 posts - 3,741 through 3,760 (of 4,451 total)
  • Author
    Posts
  • in reply to: Add Login / Register #7565
    Olly
    Admin & Mod
      in reply to: How to enter a day as closed? #7561
      Olly
      Admin & Mod

        you are overcomplicating things.
        the “Closed (if you close for lunch for example):” is there to be able to close for a few hours in between on any given day.

        i.e you have set mondays to be open from 9:00 to 17:00 but you are closed between 12:00 and 13:00 just just add that there

        if you want to entirely close a whole day (i.e christmas) goto:
        “Any dates/days where opening times differ from the standard times above (such as christmas etc).”

        add the date there and set the times to be the same (e.g 13:00 – 13:00 – or whatever)

        and if you want to be open on new years but only between 12 and 15, add another date there (1st Jan 20xx would be a good choice i would think) and set the times (e.g 12:00 to 15:00)

        in reply to: HTML Email editing #7560
        Olly
        Admin & Mod

          so, (and then i shut up)
          if you find a “do_action” hook, it doesnt do anything unless it’s called by an “add_action” somewhere (in your functions.php typically)

          same goes for filters
          i.e if there is an “apply_filters” hook it just returns what’s been passed to it, unless you do/change something by adding “add_filters ” somewhere (in your functions.php typically)

          essentially, most/all wordpress plugins – so wppizza too – use the existing wordpress hooks to do their thing and add/extend stuff

          in reply to: HTML Email editing #7559
          Olly
          Admin & Mod

            in fact, i would strongly encourage you to get to grips with actions and filters.
            once you do, you’ll be amazed as to what you can do…

            one thing to know bear in mind (as that’s a common mistake i made myself once upon a time)
            although actions and filters are somewhat similar. they have one vital difference.

            actions do things
            filters change things

            actions tend to have some parameters passed to them which you can use (amongst other things) to echo/print things (based on the variables passed along to them if you want/need to)

            filters have variables passed to them where – typically – the first one needs to be returned but you can change it during the processing of the function as required (quite often there are some more parameters passed along that first one, which you can use to change what the first one returns as appropriate..)

            in reply to: HTML Email editing #7558
            Olly
            Admin & Mod

              do this (should at least get you going)

              
              add_action('wppizza_emailhtml_end','myprefix_emailhtml_end',10,4);
              function myprefix_emailhtml_end($order_summary, $order_items, $htmlEmailStyle, $labels){
              echo'<tr><td colspan="2" style="'.$htmlEmailStyle['mailPadding']['2x15'].'; font-size:90%;text-align:middle">'.$labels['order_email_footer'].'<td></tr>';	
              }
              

              >Would you please consider writing an FAQ post on how to use action hooks and how it works?

              no, as there’s a site for that already. it’s called http://codex.wordpress.org/ (alongside about another 1/2 million websites that explain how actions and filters work…..)

              in reply to: Where can I #7553
              Olly
              Admin & Mod

                you REALLY need to get a book or read documentations about css selectors
                this is basic stuff

                you are using a class selector to target an id !!

                in reply to: Where can I #7550
                Olly
                Admin & Mod

                  >The Empty Cart is still blue

                  its grey in the pic above ?!
                  anyway
                  .wppizza-empty-cart-button{background-color: #c71c0c !important;}

                  >trying to wrap my head around css

                  might i suggest the following resource ?
                  https://www.google.co.uk/?gws_rd=ssl#q=css

                  in reply to: Ingredients Limit (again) #7548
                  Olly
                  Admin & Mod

                    then i’m out of ideas though (can only suggest – yet again – to have a word with godaddy , but given their helpfulness history – i would not bet on them doing anything)

                    in any case: 3000 vars ? that’s probably about 600+ ingredients
                    are you sure you are not duplicating things you don’t need to duplicate ?

                    in reply to: Ingredients Limit (again) #7547
                    Olly
                    Admin & Mod

                      lol

                      in reply to: Where can I #7546
                      Olly
                      Admin & Mod

                        that’s wrong on many counts.
                        try

                        .wppizza-cart-button > a > input {background-color: #c71c0c;}
                        or
                        .wppizza-cart-button > a > input {background-color: #c71c0c !important;}
                        (depends on the rest of the css)

                        Olly
                        Admin & Mod

                          doable as of 2.11.7.6

                          see https://www.wp-pizza.com/topic/filteredit-order-history-print-output/

                          there look for : wppizza_filter_print_order_customer_detail

                          in reply to: Ingredients Limit (again) #7542
                          Olly
                          Admin & Mod

                            >Is this a GoDaddy problem again

                            probably (as I have not changed anything) might be a mod_security thing (i know it was on someone elses godaddy server)

                            try this bit (under other)

                            https://www.wp-pizza.com/downloads/wppizza-add-ingredients/

                            in reply to: Where can I #7540
                            Olly
                            Admin & Mod

                              in any case, what have you tried that doesnt work ?

                              in reply to: Where can I #7539
                              Olly
                              Admin & Mod

                                actually it might also be another plugin. cant tell from a picture without a link

                                what i do know though is that it’s not me (i.e not the wppizza plugin)

                                in reply to: Where can I #7538
                                Olly
                                Admin & Mod

                                  that’s your theme making the button blue…

                                  in reply to: link/button and mobile touch behavior #7537
                                  Olly
                                  Admin & Mod

                                    >sorry for late answer
                                    no problem

                                    >didn’t receive any email notification
                                    went to junk perhaps (?)

                                    >iphone 5 iOS 8.1.2.
                                    yeah , i figured. I believe this is only an iStuff issue…

                                    I do not own – and am not planning to own – any iThing. (not a big fan of those for various reasons)

                                    However, I do realise of course that I cannot just ignore them so need a bit of help from iStuff users – that would be you in this case – to double check some things.

                                    Without further ado therefore, do me a favour:

                                    update wppizza to the latest version (this is now v.2.11.7.6).
                                    go to wppizza->settings
                                    under “Miscellaneous” you will find “experimental JavaScript”.
                                    please enable this (and save) and let me know if this now behaves / works (or is at least better)

                                    thanks, any feedback would be great on this particular chestnut

                                    Olly
                                    Admin & Mod

                                      as it happens, you cant really do that at the moment (well, you could if you write some regular expression, but that’s overkill)

                                      i need to add a parameter to the filter (or write this a bit differently – not sure yet) in the next update and will post something here (or – more likely, add an example to the codesnippet of these things)

                                      in reply to: link/button and mobile touch behavior #7524
                                      Olly
                                      Admin & Mod

                                        what device are you using ?

                                        in reply to: HTML Email editing #7521
                                        Olly
                                        Admin & Mod

                                          as of 2.11.7.5:
                                          i have added action hooks to the end of the email templates .
                                          (wppizza_emailhtml_end and wppizza_emailplaintext_end)
                                          you can now use to do stuff there

                                          in reply to: paypal payment can not go thru #7508
                                          Olly
                                          Admin & Mod

                                            as they are on the paypal page and try to log in there, it has nothing whatsoever to do with the plugin.

                                            in any case, i just put stuff in the cart, selected payment with paypal, and when i ended up on the paypal site just logged in there – it works just fine.

                                            the chances are your customer doesn’t know his/her username/password….

                                          Viewing 20 posts - 3,741 through 3,760 (of 4,451 total)