Olly

Forum Replies Created

Viewing 20 posts - 3,961 through 3,980 (of 4,432 total)
  • Author
    Posts
  • in reply to: Not receive order Mail with Post/Zipcode Extension #6153
    Olly
    Admin & Mod
      This reply has been marked as private.
      in reply to: Checking Postcode Functions #6149
      Olly
      Admin & Mod

        >It’s probably easier for me

        dunno how that’s easier, but whatever works for you

        >Generating emails, is that just html

        no. there is html of course, but a bunch of php too
        (assuming we are talking about /templates/wppizza-order-email-html.php )

        use filters(ideally)
        https://www.wp-pizza.com/topic/html-email-editing/
        https://www.wp-pizza.com/topic/filteredit-header-of-html-emails/

        , or copy and edit
        https://www.wp-pizza.com/topic/can-i-send-html-emails/

        in reply to: Checking Postcode Functions #6147
        Olly
        Admin & Mod

          from the same options table/data…(?)
          (thought that’s obvious but I might misunderstand the question)

          in reply to: Checking Postcode Functions #6145
          Olly
          Admin & Mod

            >I mean, when the postcodes are setup in the admin system
            ok.
            not much to query though.
            pretty much all options are in the options table in a serialised array.
            i.e – in a wordpress way:
            $wppizzaOptions=get_option(WPPIZZA_SLUG);
            (ideally, assuming that that constant is available wherever you put your script)

            or just

            $wppizzaOptions=get_option(‘wppizza’);

            you’ll find it in $wppizzaOptions[‘order_form’] somewhere, depending on which field you used

            or if you want to go really wild check this:

            https://www.wp-pizza.com/topic/extending-the-plugin-with-a-class/

            $this->pluginOptions in that class would return the same as $wppizzaOptions above

            in reply to: Checking Postcode Functions #6143
            Olly
            Admin & Mod

              furthermore:
              >I’m quite happy to query the wp_db

              nothing to query if nothings been set anywhere. i.e postcodes only get captued once orders are submitted of course (by which time the above is pretty irrelevant, no ?)

              in reply to: Checking Postcode Functions #6142
              Olly
              Admin & Mod

                >Sorry if I didn’t close any other open topics
                no problem

                >but was curious as you are already checking the post code on the check out,
                just set it up that way. read here under NOTES:
                https://www.wp-pizza.com/downloads/wppizza-delivery-by-postcode/

                not sure why you’d want to restrict access like that in the first place though. as you would also restrict access for searchengines presumably …!

                in reply to: Not receive order Mail with Post/Zipcode Extension #6140
                Olly
                Admin & Mod

                  >What’s problem?

                  can’t tell.
                  to start off with though,
                  do you have a screenshot of your “wp-pizza -> Orders setting” and the “delivery options” settings in the post-zipcode extension ?

                  in reply to: play sound when new order arrives (admin) #6137
                  Olly
                  Admin & Mod

                    essentially , use a short soundfile.

                    if you change the status , it should not play again (unless of course there’s another order that justifies this soundfile being played again)

                    again – it’s a sample code/codesnippet. it’s for you to make this work for your situation

                    in reply to: play sound when new order arrives (admin) #6136
                    Olly
                    Admin & Mod

                      you are playing a whole song ? are you insane (meaning that in the nicest possible way 🙂 ?
                      sounds like cacophony
                      then again, this might be interesting though…maybe there’s an artform to be discovered 😉

                      in any case, you will have to set the settings (timeout etc) according to your soundfiles

                      the above is an example, it’s up to you to adjust

                      in reply to: Get no mail after order #6133
                      Olly
                      Admin & Mod

                        i would do the following to – maybe – narrow it down

                        use one of the wordpress smtp plugins to perhaps bypass your server and see if it sends then using some smtp settings

                        if that works, than it’s most definitely your server not sending the email

                        PS: if it shows up in the order history it – essentially means – no programming errors were encountered and the email was – programmatically speaking – sent .

                        after that , it’s the servers job to actually send it

                        in reply to: Get no mail after order #6131
                        Olly
                        Admin & Mod

                          do the orders show up in your order history ?

                          in reply to: Get no mail after order #6130
                          Olly
                          Admin & Mod

                            nothing dramatic there – something that could be looked at if you are bored one day (it’s in the theme you are using – clearly)

                            in reply to: Get no mail after order #6128
                            Olly
                            Admin & Mod

                              >But I work with contact forms and there are no problems with the mails

                              depends how they are set up….might be going through some third party mail server via smtp.. dunno , cant tell from here

                              again, enable debug and let m know what the log says (ideally use phpmailer to get better error messages)

                              in reply to: Get no mail after order #6127
                              Olly
                              Admin & Mod

                                >I am able to edit php files.

                                good

                                >I have no debug.log in wp-content. Do I have to create it on my own and upload it, or what should i do?

                                add the debug declarations as mentioned above and the log will be created for you (unless you have some REALLY restrictive permissions – unlikely)

                                >Okay do you have any link, or idea where i can find good tip

                                ehem , google.com perhaps ?
                                it is – most likely y- our server not sending emails full stop. as i have no idea about your server settings / setup I cannot even begin to guess.
                                i can assure you the plugin itself sends emails . but the server has to actually send them out

                                in reply to: Get no mail after order #6124
                                Olly
                                Admin & Mod

                                  >I have only filled in the email address in wppizza configuration… Should I do something else to make it work?

                                  yes, you have to make sure your server is capable/enabled to send emails

                                  in reply to: Get no mail after order #6122
                                  Olly
                                  Admin & Mod

                                    if you don’t know how to edit php files, get your server administrator (or whoever installed wordpress or at least someone who knows the tiniest bit of php ) to do this for you

                                    in reply to: Get no mail after order #6121
                                    Olly
                                    Admin & Mod

                                      i already did:

                                      add

                                      define(‘WP_DEBUG’, true);
                                      define(‘WP_DEBUG_LOG’, true);
                                      define(‘WP_DEBUG_DISPLAY’, false);

                                      to your wp-config.php

                                      and do an order

                                      then check debug.log in wp-content and check what it says

                                      in reply to: Get no mail after order #6117
                                      Olly
                                      Admin & Mod

                                        and what does your debug.log say ?

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

                                            in the meantime, you could use a positive indent (i.e 9999px instead of -9999px) , but it will stretch the email to full width in google (albeit “normal” email clients seem to be happy)

                                            in any case, the tr/td filer i was talking about above is probably the best solution anyway, but i need some sleep first

                                          Viewing 20 posts - 3,961 through 3,980 (of 4,432 total)