WPPizza – A Restaurant Plugin for WordPress › Support › General Support › Hi OllyFirst of all thank you for this…
- AuthorPosts
- 3 June, 2014 at 1:07 pm #3975Alfredo
Hi Olly
First of all thank you for this great job you make here.
Questions:
a. Is there a way to print out a nice looking invoice we can bring to the customer. Printed email is not very nice.
b. Could you add a search function to this “Feature Requests” site. Maybe this invoice question was answered already and we just didn’t find it.
Thanks and best regards
3 June, 2014 at 1:25 pm #3976re a) all depends on what you call “nice looking” really and whether you are using phpmailer as mail delivery or the standard mail()/wp_mail().
on either you could use the templates to edit to make them “look nice” and print those…or if using phpmailer for example , could use a filter ‘wppizza_phpmailer_sent;
like so in your functions.php (there’s also another way of doing this if NOT using phpmailer , but its a bit more involvedadd_action('wppizza_phpmailer_sent', 'my_custom_phpmailer',10,2); function my_custom_phpmailer($mail,$mailsent){ if($mailsent){ //**do something with the $mail object (like fomat and then send to a different email to print or , curl, post or whatnot) } }
re b)
i am actually in the middle of redesigning the whole thing and moving these comments and other bits and pieces to some sort of organized forums , having an area for codesnippets etc so it is – at least – searchable and not the mess that it is at the momentmight take a bit longer but should/will make the whole thing a lot more manageable and userfriendly i would have thought (just never got the time to do this before and it’s definitely about time i agree)
- AuthorPosts
- The topic ‘Hi OllyFirst of all thank you for this…’ is closed to new replies.