Olly

Forum Replies Created

Viewing 20 posts - 1,241 through 1,260 (of 4,431 total)
  • Author
    Posts
  • in reply to: Datepicker issue #37092
    Olly
    Admin & Mod

      how is this complicated ?
      you roll your theme, download it and include/enqueue it (you can probably even use some priority value to include it before the styles you already have, so your current styles would override the newly added ones if the same classes are being used )
      or – as mentioned several times now – simply choose from one of the default themes

      that’s about 2 lines of code

      with the added advantage that if you ever add another jquery-ui-element (other than your current datepicker(s) and the spinner) they are also already styled .

      in reply to: Datepicker issue #37084
      Olly
      Admin & Mod

        you already know this from what i can make out…?!
        http://jqueryui.com/download/#!version=1.11.4

        in reply to: Datepicker issue #37074
        Olly
        Admin & Mod

          >So (as a result) adding another instance to style the spinner (only) will be complicated code wise.
          why ? it’s just some style and has no bearing on the js.
          (unless you force the ui-js to be added again too, for no reasons i can see)

          in reply to: Datepicker issue #37073
          Olly
          Admin & Mod

            >switching the option off only disables the style and not the JS
            that is correct. there is an awful lot of functionality attached to this spinner ui element which would not work if the js is not loaded

            in reply to: Which printer do everyone use? #37052
            Olly
            Admin & Mod

              thanks for sharing your experiences here. I’m sure this will help some others too at some point

              Olly

              in reply to: Datepicker issue #37012
              Olly
              Admin & Mod

                that option already exists by not including/enabling the themeroller css and adding your own css for the spinner (presumably from copying it when creating your own themeroller css) somewhere

                in reply to: Datepicker issue #36942
                Olly
                Admin & Mod

                  People might disagree here – and that’s perfectly ok of course – but in my book, if you are using/loading a jquery ui-element you should also use (or at least offer the option to use) one of the themes/styles that are made for that purpose
                  (not to mention the convenience of not having to maintain it and automatically being able to take advantage of any improvements etc that might get added over time)

                  in reply to: Datepicker issue #36941
                  Olly
                  Admin & Mod

                    >This is happening because the plugin loads its styles on all pages instead of loading it on pages where it is used.
                    that’s simply not true
                    it’s caused by including the themeroller style – the inclusion of which was made optional for precisely the reason that if themes already include styling for jquery ui-elements it won’t be needed

                    alas – from what i can see – your theme does not actually provide any styling for ui elements and it is the gdlr-hotel plugin that provides and styles the datepicker using it’s own style but only for the datepicker.

                    furthermore – though somewhat unrelated – the wppizza.css only ever targets it’s own distinct elements and only where strictly necessary. Wherever possible and sensible it will try to use a themes’ style

                    lastly, using an equivalent of “is_woocommerce” would do no such thing as it would also not load any styles on the checkout pages or in fact any page that shows the wppizza menu items or any wppizza widgets, shortcodes etc etc
                    (the overheads of checking a page content/sidebar to see if a particular widget/shortcode/whatnot is used are quite high and one would have to do that for every single pagecall. one of the reasons why woo doesn’t do that either one suspects)

                    in reply to: Remove ingredients / Zutaten abwählen #36918
                    Olly
                    Admin & Mod

                      >do we have to set the ingredients individually for each pizza so that they can be deselected?

                      yes, that’s the way to do it (otherwise the plugin has no idea what is or is not part of that pizza)

                      i.e , let’s assume you have a tuna pizza that – by default – comes with onions too that you want a customer to be able to not have.

                      So, add a(nother) custom group for this where you set “group type” to be “PRESELECT … etc ” and select your “Onions” there.
                      When a user clicks on it in the frontend, the “Onions” will be pre-selected but are also de-selectable

                      You (probably) might then also then want to enable (in the “Options” tab of the Add Ingredients plugin under the heading “Show de-selected pre-selected ingredients ?”) “if you have pre-selected a specific ingredient…etc” so it will be submitted as “No Onions” so it’s clearer to the Kitchen so to speak what’s required

                      (I’m aware these things can get complicated, so if the above is not clear, shout)

                      in reply to: MEAL DEAL #36917
                      Olly
                      Admin & Mod

                        see the caveat below, but…

                        …you could use the add ingredients extension somewhat (see examples here https://demo.wp-pizza.com/wppizza-add-ingredients/our-menu/user/ – perhaps the “BREAKFAST EXAMPLE” example) to create this kind of “Meal Deal”
                        (essentially you would have to add your sides and drinks as additional/separate ingredients)

                        however, “add ingredient”s does not then allow you to add more ingredients to a subitem , so you could not then choose what to have on each pizza for example , as that’s not really what it’s designed for

                        ———————————————-
                        Caveat:
                        The “Add Ingredients” extension is NOT a “Special Offer” or “Meal Deal” or similar type plugin and was never conceived for this .
                        (although – clearly- many things are possible as you can see in the user examples https://demo.wp-pizza.com/wppizza-add-ingredients/our-menu/user/ that are not really within the scope of the plugin)

                        At some – as yet undetermined – point in the future I *might* create a dedicated plugin for this sort of thing or will actually add a “add product-to-product” (or whatever it’s going to be called ) to the ” Add Ingredients” plugin
                        That will allow *menu items* to be added to other menu item, but at the moment this idea is only in the “ideas” / “perhaps an idea to do one day” stage

                        in reply to: Datepicker issue #36888
                        Olly
                        Admin & Mod

                          no, because it would defeat the point of using it in the first place
                          so if you want to have your own custom version, you have to use your own custom css (as mentioned previously in this thread)

                          in reply to: Datepicker issue #36885
                          Olly
                          Admin & Mod

                            PS: my *guess* is that the theme is using a copy of a themeroller css somewhat anyway , only with a bunch of ui elements omitted so selecting from the appropriate css from the wppizza dropdown will automatically add all missing elements’ css with the added bonus of not having to maintain it as well as consistency across all of them

                            in reply to: Datepicker issue #36884
                            Olly
                            Admin & Mod

                              thanks

                              the problem is that neither your theme nor your gdlr-hotel plugin provides css for the spinner element (only the datepicker from what i can see)

                              so if you want to keep everything as is on that front , you’d have to add your own spinner css to your theme’s css ( and leave it as “I have my own style… etc”)

                              alternatively “roll” your own theme and include that for all those jquery ui interfaces – https://jqueryui.com/themeroller/

                              or select a theme from the ones available in wppizza (perhaps the “ui-darkness” one or the “dark hive”) which – as you know – will affect all other ui elements too (which is a good thing in my book to keep things consistent throughout all those elements)

                              you could – of course – also just get the spinner parts/css of those and add those to your (child)theme’s css

                              essentially , your theme’s/plugins styling of jQuery UI elements is incomplete as it only assumes usage of the ui element implemented by your particular theme/plugin. That’s understandable somewhat , but results in the issue you are facing

                              (hope the above makes sense somewhat -kind of late here)

                              in reply to: Datepicker issue #36882
                              Olly
                              Admin & Mod

                                what do i have to click on – on your site – to actually see a wppizza “counter” (as you call them) box
                                (PS: they are called “spinners” officially, just fyi )

                                in reply to: Datepicker issue #36874
                                Olly
                                Admin & Mod

                                  >It seems that WPP (3.3.5) is affecting the style of the date pickers that are used elsewhere on my site
                                  that’s correct if you enable WPPizza->Order Settings->Item and Cart Updates and Amendments -> “Enable increase/decrease …” (2 options) as it includes a themeroller stylesheet to style the spinner/number input boxes (these jquery/themeroller stylesheets affect all those UI interfaces ).
                                  However, as you have also a dropdown there to choose a particular style, i would think you can make that match the one that comes with the theme (if not, then i would have to see what stylesheet the theme includes if you have wppizza – or those options i mentioned above – disabled )

                                  in reply to: Can't add items to my cart? #36857
                                  Olly
                                  Admin & Mod

                                    it’s a button and your theme controls this
                                    (use your browsers elements inspector…..)

                                    in reply to: Can't add items to my cart? #36845
                                    Olly
                                    Admin & Mod

                                      that – most likely – means that your php sessions don’t work / are not configured correctly
                                      you should speak to your hoster/server admin
                                      (more often than not it’s because the session save path is wrong/not configured)

                                      in reply to: upgrading to v3 #36831
                                      Olly
                                      Admin & Mod

                                        Hi

                                        I am not entirely sure what you mean by “V2 resides on a different site than the one V3 will be created on”.
                                        If V3 is a different site entirely , I would assume you simply use v3.x to start off with
                                        Otherwsie, I would suggest you *clone* the entire (V2) site and do the upgrade as outlined in the docs

                                        the next version (or the one after that, not yet 100% sure) will have a – then documented – helper function that will let you pull out all orders according to a query you can set (i.e you can also then get all orders from a certain user / user id)
                                        which you can then use to create csv’s (or whatever format you like)
                                        Furthermore, there is of course already a “customer” tab in v3.x of the plugin that shows orders for a specific customer

                                        in reply to: Pizza Specials #36799
                                        Olly
                                        Admin & Mod

                                          either setting up a discount to that effect with this
                                          https://support.wp-pizza.com/downloads/wppizza-coupons-and-discounts/ (i.e if 2 pizzas usually cost 15 each, your discount for 2 would be 10. as in 15+15-10 = 20)

                                          or you could also use the add ingredients extension somewhat (see examples here https://demo.wp-pizza.com/wppizza-add-ingredients/our-menu/user/ – perhaps the “SIMPLE MEAL FOR 2” example)
                                          however, add ingredients does not then allow you to add more ingredients to a subitem , so you could not then choose what to have on each pizza , as that’s not really what it’s designed for

                                          ———————————————-
                                          please note:
                                          The “Add Ingredients” extension is NOT a “Special Offer” or “Meal Deal” or similar type plugin and was never conceived for this .
                                          (although – clearly- many things are possible as you can see in the user examples https://demo.wp-pizza.com/wppizza-add-ingredients/our-menu/user/ that are not really within the scope of the plugin)

                                          At some – undetermined – point in the future I *might* create a dedicated plugin for this sort of thing or will actually add a “add product-to-product” (or whatever it’s going to be called ) to the ” Add Ingredients” plugin
                                          That will allow *menu items* to be added to other menu item, but at the moment this idea is only in the “ideas” / “perhaps an idea to do one day” stage

                                          in reply to: "your cart is empty" when clicking place order #36797
                                          Olly
                                          Admin & Mod
                                            This reply has been marked as private.
                                          Viewing 20 posts - 1,241 through 1,260 (of 4,431 total)