Olly

Forum Replies Created

Viewing 20 posts - 2,381 through 2,400 (of 4,447 total)
  • Author
    Posts
  • in reply to: Get Categories and orderby #19843
    Olly
    Admin & Mod

      the args list doesn’t really do much there. its the following filter that does the sorting

      
      add_filter('terms_clauses', array($this,'wppizza_term_filter'), '', 1);
      
      
      in reply to: About Add Ingredients Extension #19834
      Olly
      Admin & Mod

        maybe this will help
        http://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/

        watch the video from about 2:00 minutes onwards

        in reply to: About Add Ingredients Extension #19833
        Olly
        Admin & Mod

          i just told you

          in reply to: About Add Ingredients Extension #19826
          Olly
          Admin & Mod

            just like any other wordpress plugin (one by one)
            plugins->add new->upload plugin

            in reply to: Variable Prices #19813
            Olly
            Admin & Mod

              in the future, please post a new topic

              anyway, you should look in the wppizza->layout settings for the minicart. possibly an added offset for the body might do the trick.

              in reply to: Post code validation #19793
              Olly
              Admin & Mod

                >but I might get in touch with stripe for this if needed
                i had a look myself, but cannot see the option of adding a zipcode field to the popup in any documntation. Personally I agree that this should be there/optional. Maybe you can persuade them to do this sort of thing. Would certainly be th emost elegant solution

                > do you think I can only show billing zip code field when stripe is selected using css ?
                somwhat in conjunction with js.
                i.e if wppizza-gateway-stripe is checked, set css of field visible and required , else hide and unset required(just off the top of my head, there may be other solutions too)

                in reply to: Post code validation #19790
                Olly
                Admin & Mod

                  >I know it will be passed on to stripe but what if the delivery zip code is different than the billing zip code,
                  the you would have to label that filed “billing zip code” i would have though

                  > I thought that there is an option to have another field in stripe popup window for the billing zip code.

                  if there is, that would be great/better. got an example somewhere that does that ?

                  in reply to: Post code validation #19785
                  Olly
                  Admin & Mod

                    wrong.
                    it will be passed on to stripe (but you don’t have to enter it again in the stripe popup)

                    in reply to: Post code validation #19783
                    Olly
                    Admin & Mod

                      Out of the box, no.
                      However , I would be happy to add this as an option if you could run a test for me by editing
                      wppizza-gateway-stripe.php like so and tell me if this works (i would then have to make this a more dynamic option in the plugin itself, but as a test this should be fine).

                      wppizza-gateway-stripe.php on approx line 393 AFTER

                      
                      $js[]="if (stripeEmail == null){var stripeEmailVal='';}else{var stripeEmailVal=stripeEmail.value;}";
                      

                      ADD

                      
                      	$input_field_id = 'ccustom6'; /* set the id of the field enabled and set for entering Post/Zip codes in wppizza->order form settings */
                      	$js[]="var stripeZip = document.getElementById('".$input_field_id ."');";
                      	$js[]="if (stripeZip == null){var stripeZipVal='';}else{var stripeZipVal=stripeZip.value;}";
                      

                      setting the $input_field_id (the field you are using in wppizza->order form settings for the customer to enter his/her zipcode). Make sure you set this field in the settings there as being required

                      then, wppizza-gateway-stripe.php on approx line 407 AFTER

                      
                      $js[]="name: '".$name."',";
                      

                      ADD

                      
                      $js[]="address_zip: ''+stripeZipVal+'',";
                      

                      for this to have any effect, enable declines on verification failures in your stripe account settings.

                      let me know

                      in reply to: One time fee/yearly fee? #19750
                      Olly
                      Admin & Mod

                        please see here:
                        https://support.wp-pizza.com/topic/how-do-licenses-work-support-updates-refunds/

                        the cost in USD depends on the exchange rate at the time of purchase/renewal

                        in reply to: Sorting order history by date #19746
                        Olly
                        Admin & Mod
                          in reply to: About Add Ingredients Extension #19744
                          Olly
                          Admin & Mod

                            >I mean if I have all rights to use and manipulate with this plugina through this extension.
                            sure

                            in reply to: About Add Ingredients Extension #19742
                            Olly
                            Admin & Mod

                              single license is for a single website and is enough for your one website (I do not know what you mean exactly by “full” license)

                              in reply to: About Add Ingredients Extension #19739
                              Olly
                              Admin & Mod

                                >… So question: is really secure this extension
                                there are no known vulnerabilities

                                >,,, how I can buy full license for one web-site.
                                please refer to : https://support.wp-pizza.com/topic/how-do-licenses-work-support-updates-refunds/
                                and to buy go to : https://support.wp-pizza.com/extensions/

                                hope that helps

                                in reply to: Variable Prices #19716
                                Olly
                                Admin & Mod

                                  there’s a filter you could use wppizza_filter_summary which holds all order data in cart (and a bunch of other stuff)

                                  you could probably filter on [items][price] . very roughly something like

                                  
                                  if ([items][price] <= 0) {
                                  [items][price_formatted] = 'my string'  
                                  } 
                                  

                                  you need to adjust the above with proper coding for filters of course, but it should give you an idea

                                  Note, you can screw up a lot of things if you use this incorrectly. make sure you test it thoroughly

                                  PS: This kind of thing/filter ill be a lot easier in wppizza v3.x when it’s ready. However, this will be a while yet and the above will have to do for now

                                  in reply to: Hide Subtotal price on cart #19683
                                  Olly
                                  Admin & Mod

                                    although I must admit I have no idea why you would want to do that, I would think a simple css display:none would do the job on the relevant elements (as they all have their distinct classes)

                                    in reply to: Online Orders Menu items view #19672
                                    Olly
                                    Admin & Mod

                                      >So I’m having to open and close each menu item individually
                                      but in quickedit this takes about a second ….

                                      in any case. there are plenty of plugins on wordpress.org that let you drag/drop posts (wppizza menu items are just custom post types)

                                      in reply to: Online Orders Menu items view #19670
                                      Olly
                                      Admin & Mod

                                        tried quickedit ?!

                                        Olly
                                        Admin & Mod

                                          glad you got it working and found a way around your featured images issue (I have un-privatised your last reply as otherwise this would not be readable to others. i assume that’s ok)

                                          in reply to: Fixed Delivery Charges for area #19618
                                          Olly
                                          Admin & Mod

                                            set wppizza->order settings to “fixed delivery charges” and then set those charges per postcode as required.

                                            PS: I was certain I had already answered that, alas it appears I did not (In the future, please do not ask/post the same question in the forum and by using the contact form. Once is sufficient)

                                          Viewing 20 posts - 2,381 through 2,400 (of 4,447 total)