Support » Plugin: WooCommerce Cart PDF » Share PDF instead of open/download

  • Resolved mktjrfalcao

    (@mktjrfalcao)


    I know one can always download the pdf file, then share it using any means. But i think it would be great to have an option to share the PDF file directly from the cart page. Maybe there is a way of doing this using some other tools or editing code. If that is the case, can someone helpe me achieve it?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Seattle Web Co.

    (@seattlewebco)

    Hello

    Thank you for the suggestion. What type of sharing method are you thinking, perhaps just a simple email or something else?

    Thread Starter mktjrfalcao

    (@mktjrfalcao)

    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!

    Plugin Author Seattle Web Co.

    (@seattlewebco)

    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

    Thread Starter mktjrfalcao

    (@mktjrfalcao)

    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 1 year, 2 months ago by mktjrfalcao.
    Plugin Author David Jensen

    (@dkjensen)

    @mktjrfalcao Yes can you please email me at david@dkjensen.com and I will see about getting this implemented for you?

    Thread Starter mktjrfalcao

    (@mktjrfalcao)

    @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!

    Plugin Author David Jensen

    (@dkjensen)

    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

    Thread Starter mktjrfalcao

    (@mktjrfalcao)

    Thank you @dkjensen

    I just sent you more info over email.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Share PDF instead of open/download’ is closed to new replies.