• Krunal Prajapati

    (@krunalprajapati41)


    Hi,

    Is there a way to send custom and unique Download/Attachment file with order?

    That means if User A purchase Product A then he will receive a either download link or attachment which could be related to him/her only, and if User B purchase Product A then he will receive a either download link or attachment which could be related to him/her but not that file which is received by User A with his/her order

    If there is a way via hook/filter then please let me know

    Thank you in advance!

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

    (@cedcommerce)

    Hello @krunalprajapati41 ,

    You can use this filter, woocommerce_email_attachments

    And in the call back function, you can check the conditions accordingly.

    Thanks,

    Thread Starter Krunal Prajapati

    (@krunalprajapati41)

    Thank you @cedcommerce

    Yes but I was finding a way to generate downloadable product type’s download file, is there a way to do that?

    Thank you in advance!

    cedcommerce

    (@cedcommerce)

    Hello,

    Please have a look to this documentation,

    https://docs.woocommerce.com/document/completed-order-email-doesnt-contain-download-links/

    I hope it will help.

    Thanks,

    Thread Starter Krunal Prajapati

    (@krunalprajapati41)

    I don’t concern with it what mean to say that is I want Customization which can send custom made file with each order and that should be available to download on user profile page

    And that file will be unique for each order based on products

    So I want something downloadable kind of product but with custom generated file as document most probably pdf and there will be user filled details going to be printed

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Generate Unique PDF File With Each Product and Order’ is closed to new replies.