Olly

Forum Replies Created

Viewing 20 posts - 3,981 through 4,000 (of 4,426 total)
  • Author
    Posts
  • in reply to: HTML Email editing #6071
    Olly
    Admin & Mod

      yeah i know,
      it’s not the most intuitive way of editing/filtering (other than actually changing the template directly)

      must do something about this in the not too distant future.

      as it stands though, its a matter of using a filter (which i will keep regardless…in the future too… so as to not break things when i get round to make things better so to speak)

      give me a bit (i guess will be tomorrow now) and i’ll post an example

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

        can your server actually send emails ?
        secondly, i would suggest you turn on debug by adding this to your wp-config.php

        
        define('WP_DEBUG', true);
        define('WP_DEBUG_LOG', true);
        define('WP_DEBUG_DISPLAY', false);
        

        and check if there’s anything in the wp-content/debug.log

        also, using phpmailer (i.e 3rd option in mail delivery) might give you more detailed errors

        in reply to: why you need to load JS if you disable the order option #6022
        Olly
        Admin & Mod
          in reply to: why you need to load JS if you disable the order option #6013
          Olly
          Admin & Mod

            then again, if you are certain you do not need any of this, you can always dequeue scripts

            in reply to: why you need to load JS if you disable the order option #6012
            Olly
            Admin & Mod

              because other plugins/customisations might depend on it

              in any case, loading about an extra 35kb is neither here nor there in most WP scenarios (after all, jquery itself is about 100kb at a minimum,)

              generally speaking though, i’m all for keeping loading of unnecessary external files to a minimum if at all possible

              in reply to: Preoder – Timetable/ timepicker not showing up #6010
              Olly
              Admin & Mod

                you have a javascript error on that page

                Uncaught TypeError: Cannot read property ‘offsetWidth’ of null which stops the execution of any other js dead

                from what i can ascertain, that’s thrown by

                http://maps.gstatic.com/maps-api-v3/api/js/18/14/main.js
                which is being called from
                //maps.googleapis.com/maps/api/js?sensor=false&ver=3.9.2

                in short though , i hazard a guess the error comes from the script looking for a google map that does not exist on that page

                so don’t load the script when there’s no map (or of course just put a map on there)

                if it’s part of the theme you are using in some way, then tell the theme developers to not load the script when there’s no map (assuming my assumptions above are correct)

                additionally , there seems to be a lot of js minification going on which might – or might not – be the cause of the troubles

                for starters, if possible in your theme, i would try to turn this minification off and see what happens without it or move the

                //maps.googleapis.com/maps/api/js?sensor=false&ver=3.9.2

                script to the very bottom after everything else (so the error gets thrown after everything else had a chance to do it’s thing)

                in reply to: Business Lunch #5991
                Olly
                Admin & Mod

                  the only way to do this sort of thing is with this:
                  https://www.wp-pizza.com/downloads/wppizza-add-ingredients/

                  as an example (use your imagination a bit assuming that “bacon” “cheese” and “eggs” etc are some of the items you want be able to select from)

                  https://www.wp-pizza.com/topic/any-user-manual-or-user-guide/#post-5347

                  see also previous message regarding more examples etc

                  btw, you cannot exclude single selected items from delivery.
                  either you deliver , or you do not

                  >other restaurant owner wants don’t need to hide any menu items because all the items can be selected in the “Business Lunch” deal from 12:00 – 17:00

                  how would that stop anyone ordering the business lunch deal after 17:00 if you do NOT make it un-selectable so to speak ? (unless of course he is closed before 12:00 and after 17:00 anyway)

                  in reply to: Discount in Euro for Self-Picking #5990
                  Olly
                  Admin & Mod

                    ok, i understand now .

                    and you are right , it does not let you do that at the moment.
                    however – as we speak – I am working on something that will let you do this and more

                    might be a couple of weeks or so yet though

                    in reply to: Business Lunch #5983
                    Olly
                    Admin & Mod

                      just re-read your original question and i think i (partially) misunderstood what you are after.

                      the timed menu does just that – i.e. it makes menu items available at a given time

                      you seem to also want to “chain” menu items so to speak, i .e

                      business lunch ->choose a or b + choose c,d, or e etc

                      which you could do with the “add ingredients extension” (although it does not allow you to select from already existing menu items, you could define menu items as “ingredients” so to speak)

                      a lot of examples and general stuff can be found here

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

                      and some demos here
                      https://www.wp-pizza.com/twentytwelve

                      in reply to: Business Lunch #5979
                      Olly
                      Admin & Mod

                        >in multisite i cant use shortcode with item id because the id will be different on every blog.

                        how is that a problem ?
                        presumably every site in your multisite setup is a separate site (otherwise what’s the point of a multisite setup in the first place ?)

                        >or if you can help me with my sagesten that i have wrote you before it would be great.
                        assuming “sagesten” is a typo and you meant “suggestion”:

                        sorry , but no, i am not doing customisations for you . that’s your job.
                        i have enough to do as is supportings what’s there and – in any case – there are already a ton of codesnippets you can use as a starting point

                        in reply to: Urgent bug (duplicated items) #5974
                        Olly
                        Admin & Mod

                          furthermore, looking at the link you sent me to your site a while back , i cannot see any duplicates in the source of the page, so I don’t know what your javascript you are referring to is actually supposed to be doing

                          however, if it works for you than that’s fine by me

                          in reply to: Urgent bug (duplicated items) #5973
                          Olly
                          Admin & Mod

                            how is your code js ?

                            in any case, i used a non customised version of your theme and it works fine.
                            if this really were the case / a problem, i am sure i would have heard from other about this by now…

                            if someone else reports this too, I shall check again – nobody is perfect – but as it stands i can’t see anything that needs fixing my end

                            in reply to: Business Lunch #5972
                            Olly
                            Admin & Mod

                              I fail to see why this would not work from what you are describing

                              – create a menu item with whatever prices / info / description etc
                              – create a page with a shortcode that only displays that item
                              – set the timed menu to make this item only available at certain dates/times.

                              job done

                              in reply to: Discount in Euro for Self-Picking #5964
                              Olly
                              Admin & Mod

                                i am probably missing something, so can you explain to me the necessity of this ?

                                a common scenario surely would be this.

                                – normal price of item a: 5.99
                                – i want it delivered : add delivery charges of x.xx (or not)
                                – i pick it up myself at the restaurant -> get x.xx discount (or not)
                                – i am actually eating at the restaurant -> i ask the waiter for the bill and pay him (without going to a website to do so ) where the waiter can of course also apply a discount if required / offered

                                must admit , I’m not understanding the requirement (or indeed the question) here, but feel free to elaborate of course

                                in reply to: Business Lunch #5962
                                Olly
                                Admin & Mod
                                  This reply has been marked as private.
                                  in reply to: Business Lunch #5949
                                  Olly
                                  Admin & Mod

                                    sounds like you might be looking for this sort of thing

                                    https://www.wp-pizza.com/downloads/wppizza-timed-menu/

                                    in reply to: Urgent bug (duplicated items) #5932
                                    Olly
                                    Admin & Mod
                                      This reply has been marked as private.
                                      in reply to: Urgent bug (duplicated items) #5930
                                      Olly
                                      Admin & Mod

                                        I said a couple of things in private above.
                                        in short though, i would need to know what the original theme is your customised version is derived from to see if this issue is there too or just in the customisation

                                        in reply to: Urgent bug (duplicated items) #5929
                                        Olly
                                        Admin & Mod
                                          This reply has been marked as private.
                                          in reply to: thank you page #5913
                                          Olly
                                          Admin & Mod

                                            you already have a new formfield in localization where you can type in the stuff you only want to have displayed in the initial orderpage…(before submitting)

                                            as of v2.11.4

                                          Viewing 20 posts - 3,981 through 4,000 (of 4,426 total)