Olly

Forum Replies Created

Viewing 20 posts - 4,281 through 4,300 (of 4,469 total)
  • Author
    Posts
  • in reply to: Hi Olly,thanks again for your great… #3949
    Olly
    Admin & Mod

      however the additives sorted “only” alphabetically

      not strictly true, you can also sort by price as it happens

      having said that, the next version I have here (although not yet released), has a filter added (called wppizza_filter_ingredients_custom_sort) you will be able to use in your themes functions.php to sort the ingredients whichever way you like

      in reply to: Hi Olly,I just realized that: If you have… #3947
      Olly
      Admin & Mod

        Hey,

        good spot.thanks for that.
        I’ll make this (or similar to allow 2.555 for example too) the default in the next update

        steal some time as much as you like 🙂

        in reply to: We are going to use the ingredients plugin… #3940
        Olly
        Admin & Mod

          just “additional” js won’t do as the user – theoretically – could “persuade” the js to accept more than allowed ingredients if he were to edit the hidden elements on the page (although admittedly, he/she would have to spend quite a bit of time and energy to find out how this is exactly put together, but it’s possible)

          there is also a server side validation that takes place to check this stuff, so it would have to be put in there too. once you were to do that (i.e hack the plugin), you would not be able to update it anymore without alwasy having to re-apply any changes you may have made

          PS RE functional reference : if you look at the js/scripts.source.js there are already lot of comments as to what does what (still won’t be that easy/straightforward). as i said though, that’s only half. serverside validation should be there too

          in reply to: Hi Olly,I just realized that: If you have… #3945
          Olly
          Admin & Mod

            can you send me a screenshot as to what you mean to dev[at]wp-pizza.com (i.e where it shows 2% instead of 2.5)

            thanks

            in reply to: Would be cool if you could add a lock for… #3942
            Olly
            Admin & Mod

              not sure I 100% understand, but
              isn’t that what “access rights does ” ?

              in reply to: Hello,since update 2.8.8.9 and using WPML it… #3934
              Olly
              Admin & Mod

                i had a bit of a look around. as i believe you are using wpml 2.9 this is/was a bug there

                (see http://wpml.org/2013/07/wpml-2-9-1-bugfix-release/)

                I would think – although not tested – that updating wpml is actually the right way to solve this, not editing the wpizza plugin….
                (in which case you can probably save yourself adding that “remove_action” code i talked about earlier too

                in reply to: Hello,since update 2.8.8.9 and using WPML it… #3933
                Olly
                Admin & Mod

                  hmm,
                  I have tried with your theme, WPML and some of the plugins that i can see in your page and cannot reproduce the issue.

                  So , as you have edited the plugin directly you would not be able to update wppizza in the future without having to re-apply your edit.

                  Therefore, the next update will enable you to do this via your themes function file (this will probably come in handy in other scenarios too, so I’m happy to make this possible).

                  I.e add this to your functions.php (but leave the edit you have made)

                  remove_action( 'wppizza_loop_template_end', array( WPPIZZA_ACTIONS::this() , 'wppizza_reset_loop_query' ));

                  you can add this now, as it will not do anything until the next update.
                  once you update the wppizza plugin this line will automatically kick in, whilst your edit you made earlier when commenting out the line i referred to earlier will be reversed (as the plugin will be overwritten when you apply the next update

                  it’s a much better solution than editing the plugin directly

                  in reply to: Hi olly, i wanna ask its possible you can… #3936
                  Olly
                  Admin & Mod

                    not at the moment, but – when i get round to it – i plan to do a coupon plugin of some sort that would allow this (amongst other things)

                    no ETA yet though I’m afraid

                    in reply to: We are going to use the ingredients plugin… #3938
                    Olly
                    Admin & Mod

                      Hi

                      i believe i understand what you mean

                      at the moment there’s only the option of “Minimum total sum of all ingredients that have to be selected”

                      essentially what you would need is

                      Maximum total sum of all ingredients that can be selected

                      I’ll put it on my list of things to do , but cannot promise any ETA yet

                      in reply to: Hello,since update 2.8.8.9 and using WPML it… #3931
                      Olly
                      Admin & Mod

                        on second thoughts, would you be able to (and test) the following INSTEAD (as that would really be a better way to do things, but I would need to know if this works in your scenario too)

                        same file, but approx line 989 you should find the following:


                        public function wppizza_include_shortcode_template($type,$atts=null){
                        /***************************************
                        [include category loop template]
                        ***************************************/
                        if($type=='category'){

                        could you replace this with

                        public function wppizza_include_shortcode_template($type,$atts=null){
                        /***************************************
                        [include category loop template]
                        ***************************************/
                        if($type=='category'){
                        wp_reset_query();

                        i.e add wp_reset_query()

                        INSTEAD of commenting out the action earlier ?

                        if this works too, it would really be a better thing to do. I would be very grateful if you could test this too/instead so I can make sure the next update will not cause the same problem in your case again

                        thanks

                        in reply to: Hello,since update 2.8.8.9 and using WPML it… #3930
                        Olly
                        Admin & Mod

                          ok, thanks for reporting back, will have to integrate something in the next update that takes care of this when using WPML

                          that code is/was really only there to deal with some themes that appear to be misbehaving somehow

                          in reply to: Hello,since update 2.8.8.9 and using WPML it… #3928
                          Olly
                          Admin & Mod

                            Hi ,
                            tested it here (albeit with WP3.8, as the version of WPML I have – 3.0.2-a – does not wok at all with WP3.9 and my download to the latest WPML version has expired)
                            and it’works fine….

                            question though, how many languages do you have enabled ? i.e if the products show 2x do you have 2 languages enabled ?

                            do they show 3 times if you were to enable 3 languages , so is this correlated ?

                            one quick thing to try (and report back please):
                            in wppizza/classes/wppizza.actions.inc.php you find – on approx line 67 – the following code:


                            add_action('wppizza_loop_outside_end', array( $this, 'wppizza_reset_loop_query'));

                            what happens when you comment out that line (so it reads like this ?


                            //add_action('wppizza_loop_outside_end', array( $this, 'wppizza_reset_loop_query'));

                            (assuming that you are a little bit comfortable with editing php files)

                            in reply to: Would it be possible to add pictures of the… #3926
                            Olly
                            Admin & Mod

                              Hi

                              possible, yes, very easy, no.

                              essentially , you should probably use the following filter (wppizza_cart_item – have a look in the wppizza-cart.php template where it is) and output something (div or whatever) in front of that li element (in the filter you would be able to access the id of that item and select an image accordingly) and then play with the css to align it

                              hope that helps

                              PS: the next version – hopefully out in a few days – will also – amongst a bunch of other things – have an id on the li element you could use somehow (will be something like id=’wppizza-cart-item-4.2′ where 4 would be the menu item id and 2 is the selected size)

                              in reply to: Hi Olly,Great plugin, my question / feature… #3920
                              Olly
                              Admin & Mod

                                the way to do that i would have thought is as follows.

                                set an additive (i.e Vegi for example) , tick the now available “vegi” additive in the appropriate menu item and add some css image to the relevant elemnt ie

                                wppizza-loop-additive-x{/your image/}
                                ‘x’ being the additive id

                                does that help

                                PS currently the additives in the loop are id’s – which is wrong, they should be classes – I will fix that in the next update

                                in reply to: its possible to send the confirmation order… #3918
                                Olly
                                Admin & Mod

                                  in theory you can do that, however , as there would be carrier costs involved, there is no generic way to implement something that does that (as – depending on where you are – prices and options will differ)

                                  having said that , there are a lot of email 2 sms providers out there you can choose from which should easily allow you to set this up (which one works for you is something for you to decide though as it would depend on your location etc)

                                  furthermore, IF you were to do that you should consider the following.
                                  SMS has a character limit per message, so if you have a large order and want to send the whole order as sms to the customer, it will be a multi-part message (with multiple message charges to you !!)

                                  secondly, in todays world of smartphones , more and more people will have email on their phone anyway…..(not everyone of course)

                                  Either way, just my 2 cents really

                                  in reply to: Hello olli,its possible to charge the… #3915
                                  Olly
                                  Admin & Mod

                                    not by distance (as in km for example) as such

                                    However, the “delivery by post/zipcode” plugin does exactly that depending on zip/postcodes

                                    PS: the post/zipcodes can arbitrarily defined , so you can also set designated delivery areas instead of an actual zip/postcode

                                    in reply to: Hello, I use WP PIZZA and WPML. Its amazing… #3905
                                    Olly
                                    Admin & Mod

                                      not really do-able (at the moment anyway) as the same email gets sent to shop AND customer

                                      you would also have the – possible – issue, that your translation might be different and even have different prices !! so you would/could end up with 2 different orders (i know, not the most likely scenario, but still a possible situation that could lead to almighty confusions)

                                      in reply to: I feel like upon clicking “add to cart,” a… #3907
                                      Olly
                                      Admin & Mod

                                        just add the textbox option to the ingredients thing , no ?

                                        in reply to: I would like to have the ability to tooltip… #3911
                                        Olly
                                        Admin & Mod

                                          Hi,
                                          i answered you directly too but posting it here as well for others just in case…

                                          in theory, you could do this with some javascript and css.

                                          However, I would think it’s better if I just add some classes to the ingredients and then you can do this by just using css.
                                          I’ll update the plugin in the next couple of days to add those classes and then you can add css as required.

                                          (i assume this is what you meant ?!)

                                          Olly

                                          in reply to: Hi, It would be convenient when one could… #3913
                                          Olly
                                          Admin & Mod

                                            just enable wppizza->layout-> Enable increase/decrease of items in cart via input field/textbox

                                          Viewing 20 posts - 4,281 through 4,300 (of 4,469 total)