Olly

Forum Replies Created

Viewing 20 posts - 921 through 940 (of 4,431 total)
  • Author
    Posts
  • in reply to: Ignore discoiunts for add ingrediences #43368
    Olly
    Admin & Mod

      haven’t yet checked this in detail, but my guess would be it’s because “Multi-Apply” is off.

      i.e if it’s off, it only applies this to the first time the condition is met .
      in your described case that’s for your 3 pizzas that are below the minimum price set, in which case the discount applied will be zero (as it’s no discount at all if you charge a fixed price of 3 x 4.49 as opposed to the “natural” 3×4.19)

      as the condition was met, subsequent conditions met will be ignored.
      If you enable “multi-apply” then it will consider ALL instances of the condition met.

      Again, haven’t yet checked in detail, but I would expect that to be the issue at hand

      in reply to: Ignore discoiunts for add ingrediences #43354
      Olly
      Admin & Mod

        And then again, sometimes it’s easier than expected ….
        I’ve just made v2.0.14 available (might take a little bit to show up in you plugins screen as an update being available)
        that adds an option of “Baseprice Only” when setting a “Cheapest [x] Items Reduced” discount
        I.e it will leave any add-ons (namely Ingredients added to an item) at full price if that option is selected

        in reply to: Ignore discoiunts for add ingrediences #43343
        Olly
        Admin & Mod

          not at the moment, but i;m hoping to get to have a look at this in the next week or two

          in reply to: Additives shows only numbers on UI #42978
          Olly
          Admin & Mod
            This reply has been marked as private.
            in reply to: Additives shows only numbers on UI #42976
            Olly
            Admin & Mod
              This reply has been marked as private.
              in reply to: Additives shows only numbers on UI #42973
              Olly
              Admin & Mod

                got a link where i can look at it ?

                in reply to: Additives shows only numbers on UI #42971
                Olly
                Admin & Mod

                  what version of wppizza ?
                  have you tried (re)-saving your additives ?
                  what other wppizza related shortcodes (if any) are on that page ?

                  in reply to: Ignore discoiunts for add ingrediences #42910
                  Olly
                  Admin & Mod

                    I can see where you are coming from. I’ll have a look at that (but no promises or ETA at the moment)
                    I am not even sure right now whether this would have to be added to the discounts (probably) or the ingredients plugin.

                    In any event, can you post a screenshot of your particular discount settings you have – so i have a starting point of some sort ?

                    thanks

                    in reply to: Invoice generator #42774
                    Olly
                    Admin & Mod

                      that’s pretty much what the “print” button is for that you can find in “Wppizza->orderhistory”
                      the output generated will depend on your settings in “WPPizza->templates->print”

                      i dont know much about german tax law, but presumably you need to include the values/tax rates etc related to an order, all of which can be selectively added as required in those template settings

                      PS: as it happens, i am also in the process of actually developing a little plugin that would allow you to selectively add a pdf invoice to any emails the system sends (the output of which is also depending on settings in wppizza->templates->print)
                      but that is a few days or so away yet from release

                      Olly
                      Admin & Mod

                        PS: you should not output errors/warnings etc on production sites either but log them instead

                        https://docs.wp-pizza.com/troubleshooting/

                        Olly
                        Admin & Mod
                          This reply has been marked as private.
                          Olly
                          Admin & Mod

                            you have a rogue space (or some other character ) in your wp-config.php on line one

                            (says it right there really “Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /home/httpd/vhosts/alibabakebab.ch/httpdocs/wp-config.php:1) “)

                            in reply to: Issue with legacy version. #42684
                            Olly
                            Admin & Mod
                              This reply has been marked as private.
                              in reply to: Issue with legacy version. #42678
                              Olly
                              Admin & Mod

                                v2.x has not changed at all of course since v3 was released
                                so my guess would be that the session handling on your server changed – for whatever reasons

                                please see here
                                https://docs.wp-pizza.com/troubleshooting/?section=cannot-add-more-than-one-item-to-cart

                                the docs.wp-pizza.com generally refers to v3.x , but session handling has not changed between wppizza v2 or v3 so it will be just as applicable

                                Olly
                                Admin & Mod

                                  In essence, you found some old codesnippet (somewhere on here i guess) that was related to wppizza v2.x.
                                  The “official” documentation – if you will – for v3.x can be found here https://docs.wp-pizza.com/

                                  That said, not all the snippets that were mentioned here on this forum in the past have yet been copied/updated there (some do not even exist in v3.x anymore anyway but were accurate at the time before v3.x).
                                  The docs will always be work in progress I suppose and will be amended on “as needed” / “as requested” basis.

                                  In any event, the error you were getting is “correct” in so far that in v3 only 2 arguments are now passed on as the 2nd one contains all data now that was previously passed on in the additional arguments (there were actually 7 altogether)

                                  So cutting a long story short: yes, there are now only 2 parameters so the filter should indeed be something like

                                  add_filter( 'wppizza_filter_orderhistory_order_info', 'my_function', 10, 2);
                                  or
                                  add_filter( 'wppizza_filter_orderhistory_order_info', array($this/*or some distinct class*/, 'my_function'), 10, 2);

                                  I hope that clears things up somewhat

                                  cheers

                                  Olly
                                  Admin & Mod

                                    have you enabled debug ?
                                    i am pretty certain it will tell you what the issue is
                                    https://docs.wp-pizza.com/troubleshooting/

                                    in short, this is not how you use filters
                                    you either do

                                    add_filter( 'wppizza_filter_orderhistory_order_info', 'my_orderinfo_add_id', 10, 4 );
                                    or
                                    add_filter( 'wppizza_filter_orderhistory_order_info', array($this/*or some distinct class*/, 'my_orderinfo_add_id'), 10, 4 );

                                    depending on where/how you use it

                                    in reply to: timed menu for ingredients #42468
                                    Olly
                                    Admin & Mod

                                      I dont know what you did of course, but my *guess* would be that you simply doubled you lunch menu (with different soups as required) and enabled/disabled the relevant “lunch menus” for the given days
                                      (ingredients themselves are not “timeable” so to speak)

                                      other than that I can only suggest you look at how you did this on that “other ” site

                                      in reply to: v3 custom gateway #42347
                                      Olly
                                      Admin & Mod

                                        have a look in the plugin itself (sub)-directory /add-ons/gateway-development/

                                        in reply to: Control Margins #42308
                                        Olly
                                        Admin & Mod

                                          > it seems that cloudprint can accept a parameter of zero margin.
                                          all the wppizza cloudprint plugin does is send the order to cloudprint based on the template (settings) you have selected . it really is between cloudprint and the printer itself to do what you want it to do .
                                          This is nothing the plugin has control over.

                                          furthermore, the links you posted seem to refer to the settings of the device itself , not any parameters you can send to it to dynamically change them . not from what I can see anyway

                                          >This snippet at Stack exchange ….. Seems to be trying to pass the parameter.
                                          it also says there that it does not work

                                          please also see here. maybe you can get some ideas from there as a workaround perhaps
                                          https://support.wp-pizza.com/topic/question-google-cloudprint/

                                          generally speaking, how things are printed once the order has been sent to cloudprint is entirely the printers responsibility. if it does not print margins (for example) then you will have to speak to the printer manufacturer . only they will know about this

                                          in reply to: WPML Problem #42304
                                          Olly
                                          Admin & Mod

                                            as far as i remember , you can actually tell WPML to not translate categories , in which case it would also work i would expect, however , this is probably not something you want (as the category names would stay the same regardless of language)

                                          Viewing 20 posts - 921 through 940 (of 4,431 total)