Olly

Forum Replies Created

Viewing 20 posts - 3,221 through 3,240 (of 4,431 total)
  • Author
    Posts
  • in reply to: Sandbox to real deal… #10969
    Olly
    Admin & Mod

      essentially, do the same thing with your real paypal account (and of course take it out of test/sandbox mode)

      the plugin does pretty much the same thing in either mode (just sends it to the sandbox instead of live url of paypal and vice versa)

      in reply to: can't translate Add Ingredients plugin #10960
      Olly
      Admin & Mod

        in wppizza-addingredients.php (approx line 89)

        took m a bit to find out why it did not load it.

        so, do the following :

        in wppizza-addingredients.php (approx line 89)

        add_action(‘init’, array($this, ‘wppizza_ingredients_load_plugin_textdomain’));

        and change to

        add_action(‘init’, array($this, ‘wppizza_ingredients_load_plugin_textdomain’),99);

        feel free to do that in the core file of the plugin as it will be default in th enext update

        in reply to: can't translate Add Ingredients plugin #10926
        Olly
        Admin & Mod

          which version of the plugin are you using ?

          secondly how exactly are you translating it ?i.e where are you putting the po/mo files and what did you name them ?

          essentially the translation for that plugin works the same as for all the other wppizza plugins so I cannot see any reason why you should not be able to do that .

          if you wish, send m your translation files and i will have a look whether i can get them to work here (send them to dev[at]wp-pizza.com)

          in reply to: When would you like to order for – field #10908
          Olly
          Admin & Mod

            it’s that one:
            https://support.wp-pizza.com/downloads/wppizza-preorder/

            (alternatively of course you could just add a normal textfield to the orderform if you do not need to add specific timeslots)

            in reply to: Email address hide #10907
            Olly
            Admin & Mod

              nothing i can do.
              i have no power about how emails work (and what your hardware does with it)

              another option would be to send a second separate email to the printer only
              see here for a starting point
              https://support.wp-pizza.com/topic/after-every-order/

              in a future update to the plugin, there will be the possibility to send several independent emails/orders and layout to different recipients, but it will be a few weeks yet until i have this implemented and tested

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

                ok,
                it’s easy. all you need to do is enable “allow everybody to register” (which will also have the advantage – if they do – that next time their details are already filled in if the log in….)

                in reply to: Email address hide #10901
                Olly
                Admin & Mod

                  use the bcc instead I would have thought.

                  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

                                          Viewing 20 posts - 3,221 through 3,240 (of 4,431 total)