Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter mondolq

    (@mondolq)

    Yes, actually i wanted to render the pdf on my own server but i’m on a shared server and i don’t find how to install correctly html2pdf or fpdf which make what i want.

    Moreover, i don’t want to use a plugin for that because I try to reduce my number of them to have a better performance.

    I will probably search for different type of document maybe to render my order purchase.

    Thread Starter mondolq

    (@mondolq)

    I’m trying the plugin but i dont think it will help me. I don’t want to print in pdf my pages.

    In my php function, i take the order of the user. Typically like:

    $mail_message = “We have received your order. Thanks”;
    $pdf = “ORDER: ” . $_POST[‘order’];
    wp_mail($mail, $mail_message);

    But before send it by email, I would like to create a pdf with the message $pdf and join it to the mail. Like this, the user will receive an email to inform him that we have received his order and a pdf with his purchase order.

    Is there any new about the translation ?

    Regards,
    Quentin

    Is there any way to change it in the code ?

    Regards,

    Quentin

Viewing 4 replies - 1 through 4 (of 4 total)