Hello
Thank you for the suggestion. What type of sharing method are you thinking, perhaps just a simple email or something else?
Hello!
Thank you for your attention. Right now, just a simple e-mail would do. Maybe a WhatsApp option on mobile, but just an email option would work great for me!
Here is a quick PHP 7+ way that supplies an email field and sends the PDF via email. Likely needs to be tweaked to your use case
https://gist.github.com/dkjensen/f7b6500322df06c5f53a0c2161d2bddf
Hi!
Thank you very much for your help!
I’ve added the code to my functions.php file and it’s working great! I’ll take a further look into tweaking it to my more specific needs.
Thank you again for your attention and great work. You rock!
-
This reply was modified 2 years, 2 months ago by
mktjrfalcao.
@mktjrfalcao Yes can you please email me at david@dkjensen.com and I will see about getting this implemented for you?
@dkjensen Hello David!
Thank you for your attention. Actually, i think the “send pdf to admin” option will take care of my needs. But i do have a problem now. The e-mail seems not to be sent to the admin e-mail adress. I download the pdf but nothing arrive at my inbox. Can you think of something that can cause this?
I can e-mail you to share more details, if you wish. Thank you in advance!
Check the email it sends to under Appearance > Customizer > WooCommerce > Cart PDF.
If the email is correct maybe try changing it to another email temporarily, and if that doesn’t work, verify your site is able to successfully send emails.
If you still have issues please email me at david@dkjensen.com and I can help troubleshoot
Thank you @dkjensen
I just sent you more info over email.