Olly

Forum Replies Created

Viewing 20 posts - 3,241 through 3,260 (of 4,446 total)
  • Author
    Posts
  • in reply to: email address #10900
    Olly
    Admin & Mod

      the emails are in the database with the order.
      the reason why they are not displayed anywhere is because the only conceivable reason why you could really want them is to spam people.

      if you want peoples email addresses, get them to register .

      although it would not be too difficult to get the emails out of the database, i will not provide a way to do this for above reasons.

      sorry, but i have strong views on that subject

      in reply to: Display content in email #10897
      Olly
      Admin & Mod

        anyway , you should do something along these lines (in your themes functions.php)

        function my_extra_markup( $itemMarkup, $item, $itemKey, $options) {
        	/* get content of post */
        	$content=get_post( $item['postId']);
        	
        	/* add content to markup */
        	$itemMarkup['content']='<tr><td colspan="2">'.$content->post_content.'</td></tr>';
        	
         
        	return $itemMarkup;
        }
        add_filter('wppizza_filter_htmlemail_item_markup', 'my_extra_markup', 10, 4);	
        in reply to: Display content in email #10896
        Olly
        Admin & Mod

          also, what is this supposed to do ? $itemMarkup['postId']=['postid'];

          in reply to: Display content in email #10895
          Olly
          Admin & Mod

            >I changed back to the original code …
            never change/edit corefiles. your changes will get lost with the next update

            >The only thing that I changed is adding the filter.

            doesnt look like it to me. you are supposed to add a filter and function that goes with it in your themes functions.php, not editing what is in the plugin

            in reply to: Display content in email #10875
            Olly
            Admin & Mod

              PS: BTW, i would suggest you also use the filter “wppizza_filter_htmlemail_item_markup” though instead of editing the template directly

              in reply to: Display content in email #10874
              Olly
              Admin & Mod

                >assume I can’t just post…
                you would be correct

                but you can use $item['postId'] to then get the content for that post id (or anything else you want to get for that id)

                in reply to: Hot to know item id? #10844
                Olly
                Admin & Mod

                  when you edit a menu item it will have a url of something like

                  http://www.mydomain.com/wp-admin/post.php?post=31&action=edit

                  where 31 is the id

                  in reply to: Automatic printing #10834
                  Olly
                  Admin & Mod

                    >Do u know if cloudprint option will print automatically or it need to be customized for that?

                    if you set up your printer with it then it will print automatically

                    >there is also this plugin…
                    that’s a woocommerce plugin. has nothing to do (and will not work) with wppizza

                    in reply to: Price Tier Classes #10829
                    Olly
                    Admin & Mod

                      >i was just wondering if there was a way to add a CSS class to each different price tier ….

                      not for you unless

                      a) you wanted to use js/jQuery to add the missing classes for example (i.e an item will have an id of wppizza-38-4-2 , where 4 is the price tier id and 2 the size that goes with the sizes set – zero indexed)

                      or

                      b) you could just edit the template you are using and add the classes (should be reasonably obvious how the loop is set up)

                      however, it’s also easy enough for me to add in the next update for all templates. in fact, consider it done, but that update is a couple of weeks or so yet until it’ll be available

                      in reply to: Automatic printing #10824
                      Olly
                      Admin & Mod

                        >What cloudprint option?
                        depending on your printer you *might* be able to just cloudprint any orders using this plugin here
                        https://support.wp-pizza.com/downloads/wppizza-google-cloudprint/

                        >And dont u need a plugin so it can print?
                        just a question of terminology . you can call it plugin if you wish. not important.

                        essentially , your printer will/should have an api of some sort.
                        so one could write some script that prints/sends the order automatically to that printer once an order is received based on this action hook here
                        https://support.wp-pizza.com/topic/after-every-order/

                        in both cases, it would get printed without you having to be logged into the admin side of things (or indeed even having a computer turned on as it would happen server side)

                        in reply to: Order History – Add filter by Post/Zipcode? #10822
                        Olly
                        Admin & Mod

                          >same answer just for change color ..
                          pretty much

                          >Otherwise, can you add this feature in a future update?
                          not as a feature (probably) , but i can add a filter/action hook that would let people do that.
                          on second thougts, maybe i’ll add it to the post/zipcode plugin as an option….not sure yet

                          > Our client lost many order’s mail
                          how ? why ? what does that have to do with post/zipcodes ? (I don’t think I understand what you mean here)

                          >and no timestamping
                          huh ? every order has a timestamp ??!!

                          in reply to: Price Tier Classes #10820
                          Olly
                          Admin & Mod

                            hmm, you lost me here.

                            just rename “reg” to “per dozen” , no ?

                            in reply to: Automatic printing #10818
                            Olly
                            Admin & Mod

                              that’s not a question of a plugin as such, it’s more of a question of the printer and it’s api

                              there is always the cloudprint option too

                              in reply to: Order History – Add filter by Post/Zipcode? #10817
                              Olly
                              Admin & Mod

                                at the moment, you can’t (not without hacking the plugin) as there is no filter to edit the query or results set other than what’s there.

                                in reply to: Radio Buttons Iphone problem #10792
                                Olly
                                Admin & Mod

                                  Hi

                                  there isn’t really any difference as to how things are handled between iPhone and anything else.
                                  do you have a link where i can see your described behaviour ?

                                  thanks

                                  in reply to: Removing cart from home page #10788
                                  Olly
                                  Admin & Mod

                                    that entirely depends on your theme used
                                    nothing i can help you with really

                                    in reply to: I got this error after install "Add Ingredients" plugin #10745
                                    Olly
                                    Admin & Mod

                                      you are running out of memory.
                                      your actual error seems to be

                                      Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 786432 bytes) in /home/c3ntin0s/public_html/wp-content/plugins/wppizza-add-ingredients/ajax/get-json.php on line 1666

                                      i would suggest you change / add the following to your wp-config.php
                                      define(‘WP_MEMORY_LIMIT’, ‘128M’);

                                      40M is the default in wordpress. although – many times – this is enough, it all depends entirely on all your other plugins and theme configuration(s) as to whether this is sufficient

                                      in reply to: Order sorting on Order Page / order email. #10728
                                      Olly
                                      Admin & Mod

                                        i’ll put it on my list of things to do (i can see why that might be useful). I cannot give you any ETA at the moment as to when this will be enabled/inbuilt I’m afraid

                                        >My support ticket:…
                                        i seem to have missed that one for some reason. apologies

                                        in reply to: email address #10720
                                        Olly
                                        Admin & Mod

                                          if you enable “Use when Registering ?” in wppizza->order form settings next to the relevant form field, it will be added to the wordpress user data in which case you can then export your user data (there are lots of plugins on wordpress) with those being part of that export

                                          something like this probably – https://wordpress.org/plugins/export-users-to-csv/ – not tested though

                                          in reply to: Update for new Plugin version not showing #10706
                                          Olly
                                          Admin & Mod

                                            there is now version 4.9.2 which should (hopefully) improve the licence handling

                                            (you might of course have to download this one manually from your purchase history first if your current version does not make the update show up)

                                          Viewing 20 posts - 3,241 through 3,260 (of 4,446 total)