• Resolved mor3311

    (@mor3311)


    Hello,
    I am looking for a way to create a customized contract for the clients after they purchase.
    I want that for a successful purchase the client will get an email\in his dashboard a PDF file of a contract which says something like:

    Hello {customer},
    you have purchased {attribute\variable} of the product {product_name} from {seller_name}. the usage is for {description} only.

    Is there a way to create that?
    Thanks, Mor

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hi @mor3311

    One approach which may work for you would be to create a PDF file for the product and add that as a download on the product.

    https://woocommerce.com/document/digital-downloadable-product-handling/

    When the customer purchases the product they’d then receive an email with a link to download the PDF file. They would also be able to download the PDF file from My Account > Downloads when logged into your site.

    The only downside to this approach would be that you wouldn’t be able to use conditional parameters within the PDF file like {customer}, {attribute\variable} etc.

    Instead of a PDF file, another approach would be to use a plugin like AutomateWoo to send the customer a custom email contract after purchase.

    That would allow you to use parameters like {customer}, {attribute\variable} within the email.

    https://automatewoo.com/docs/variables/usage-guide/

    The customer could then print that email as a PDF if they wanted to.

    Thread Starter mor3311

    (@mor3311)

    Thank you for your quick answer!
    I wanted to know, is it possible somehow using php code and no plugins?..

    Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hey @mor3311

    I wanted to know, is it possible somehow using php code and no plugins?..

    It may be possible to have a developer write some custom code which could achieve the functionality you’re trying to implement. If you would like to investigate that possibility further, you could reach out to some of the official WooCommerce development partners via the link below.

    https://woocommerce.com/customizations/

    I hope this helps.

    Hi @mor3311

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. If you have further questions, please feel free to open a new topic.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Send dynamic contract after purchase’ is closed to new replies.