Olly

Forum Replies Created

Viewing 20 posts - 1,041 through 1,060 (of 4,446 total)
  • Author
    Posts
  • in reply to: Opening times not working (To close for Christmas) #40591
    Olly
    Admin & Mod

      do you still get the same login issue issue if you clear your cookies (or perhaps disabling extensions – if any) ?

      in reply to: Zip Codes Order numeric #40584
      Olly
      Admin & Mod

        update: this should be fixed now in v4.0.19 of the post/zipcode plugin
        (of course, let me know if you still have issues after updating)

        in reply to: Opening times not working (To close for Christmas) #40582
        Olly
        Admin & Mod

          Though I am reasonably sure this used to work just fine, I must have done something at some point that broke this as I get the same result here when using your settings.
          I’ll fix that asap in an update (hopefully in the next day or two). Will keep you posted here when i have some news on this front

          thanks for letting me know

          in reply to: Zip Codes Order numeric #40581
          Olly
          Admin & Mod

            Hi
            I must admit, trying to reproduce this here , I am surprised myself that I get the same (unordered) result,
            which is even stranger given that they are automatically sorted in the backend.
            I’ll fix that in the next update (should not be that difficult to do) in the next day or two

            thanks for flagging the issue.

            in reply to: Adding Category to export #40484
            Olly
            Admin & Mod

              you need to familiarise yourself with wordpress action and filters and generally really how it does things (see the wp codex)
              perhaps something like this in your themes functions php (just as an example, there are a million ways of doing this)

              
              add_action('wp', 'my_export_function_name');
              function my_export_function_name(){
              	global $post;
              	
              	if($post->ID == [some post/page id]){
              		
              	/*
              		run the query and print the output or some script that automatically creates and downloads the csv
              or whatever else it is you need to do 
              	*/	
              		
              	}
              	
              }
              
              

              but please note: this is about the basics of wordpress, i cannot really offer support for this sort of thing in general

              some basic action/filter overview can also be found here: https://docs.wp-pizza.com/developers/?section=filters-actions-functions

              in reply to: Adding Category to export #40471
              Olly
              Admin & Mod

                you mean you don’t know how to echo/print (i.e output) things in php ?

                in reply to: PopUp on Order History #40470
                Olly
                Admin & Mod

                  then YOU have set up something that sends those emails.
                  the plugin does not do that natively

                  in reply to: Adding Category to export #40465
                  Olly
                  Admin & Mod

                    correction:
                    the foreach loop above should be nested – i.e something like

                    
                    
                    $args = array(
                    	'query'=>array(
                    		'payment_status' => 'COMPLETED',//get completed orders only 
                    	),
                    );
                    $data = wppizza_get_orders($args);
                    
                    foreach($data['orders'] as $order){				
                    	foreach($order['order']['items'] as $item){
                    		//$item['cat_id_selected'] => [int]...
                    		//$item['item_in_categories'] => [array] ...
                    	}
                    }
                    

                    to loop through each item of each order

                    sorry about that

                    in reply to: PopUp on Order History #40456
                    Olly
                    Admin & Mod

                      PS: generally speaking, it’s only a word anyway, and there are css classes associated that would let you use the same background color as a “new” order (for example)

                      furthermore, you could also simply change “Acknowledged” to “New” (or whatever else you want it to be – maybe “New- Viewed” or something so at least there’s some distinction between the 2) in wppizza->localization “Admin Order History – Order Statuses”

                      in reply to: PopUp on Order History #40455
                      Olly
                      Admin & Mod

                        No, sorry (not at the moment anyway)
                        that’s by design as – clearly – once you have clicked on it and seen it , it’s been viewed (in this case named as “Acknowledged” )

                        however, you can set it simply back to “new” again, in the same popup screen (or after closing that popup box)

                        in reply to: Adding Category to export #40426
                        Olly
                        Admin & Mod

                          perhaps the following would be simpler in this case
                          https://docs.wp-pizza.com/developers/?section=function-wppizza_get_orders

                          i.e something along these lines

                          
                          $args = array(
                          	'query'=>array(
                          		'payment_status' => 'COMPLETED',//get completed orders only 
                          	),
                          );
                          $orders = wppizza_get_orders($args);
                          
                          /* 
                          	items for each order 
                          */
                          foreach($orders['orders']['items'] as $item){
                          	//$item['cat_id_selected'] => [int] category id the item was in when it was added to cart (as an item can belong to multiple categories)
                          	//$item['item_in_categories'] => [array] all categories an item belongs to (where key -> cat id)
                          	/*
                          		do some grouping by catid i would think here , or whatever it is you need to do 
                          	*/	
                          }
                          
                          
                          in reply to: Adding Category to export #40352
                          Olly
                          Admin & Mod

                            may i suggest this resource
                            https://docs.wp-pizza.com/developers/?section=create-your-own-sales-report

                            as all that data – and more -exists already
                            (see especially the wppizza_filter_report_datasets and wppizza_filter_reports_export_results filter hooks)

                            PS: it seems to me you are also editing core files – that is never good idea

                            in reply to: set closed days via calendar #40286
                            Olly
                            Admin & Mod

                              >Unfortunately, this is not possible
                              that’s not true.

                              from the help screen:
                              “custom opening times: …. If you are closed on a given day set both times to be the same….”

                              in reply to: Email Error 10003 #40260
                              Olly
                              Admin & Mod

                                “Could not instantiate mail function” is a server/setup/host problem. this could be caused by all sorts of things but only you / your hosting provider will be able to know why and this is nothing that could be “fixed” in the wppizza plugin (as it’s not caused by it)

                                on place to check perhaps
                                https://www.acyba.com/acymailing/246-could-not-instantiate-mail-function.html
                                but there are also 100’s of possible solutions if you google for “Could not instantiate mail function”

                                PS: I assume “myemail” is in fact a valid email address of course (otherwise that is of course the issue right there)

                                in reply to: Print without header #40259
                                Olly
                                Admin & Mod

                                  no, sorry

                                  but there’s the cloudprint extension that allows you to directly print an/the order and as that is not an email no subject line would get printed (alongside the concept of printing an order automatically of course)
                                  https://support.wp-pizza.com/downloads/wppizza-google-cloudprint/

                                  there’s also the option to print the order from the order history (wppizza->order history) , which would also not include the subject line (as this is also not an email as such)

                                  in reply to: Print without header #40256
                                  Olly
                                  Admin & Mod

                                    >When I print the order in the email, always comes with the header…
                                    you have to look at your email client (software) manual – this has nothing to do with wppizza. i cannot help you there

                                    in reply to: Sound on incoming orders on iPad #40225
                                    Olly
                                    Admin & Mod

                                      as it stands, iOS (iPad / iStuff) does not support the automatic play of an audio sound (or video as it happens) without users interaction

                                      (as it in fact states in that particular setting: “Note: this might not work with all browsers” )

                                      in reply to: Discount on the second extra ingredient #40198
                                      Olly
                                      Admin & Mod

                                        No sorry. there’s no provision for that

                                        in reply to: Deleting options #40165
                                        Olly
                                        Admin & Mod

                                          wppizza->meal sizes
                                          wppizza->order settings

                                          in reply to: delivery type #40151
                                          Olly
                                          Admin & Mod

                                            you don’t *have* to delete the old postcodes (they just will be ignored with other delivery settings) but you can if you want to
                                            if at some point you want to switch back to your old delivery settings, then they would already be set up if you don’t delete them

                                            it’s entirely up to you really on that front

                                          Viewing 20 posts - 1,041 through 1,060 (of 4,446 total)