Certificate based on purchase in Woocommerce

WooCommerce
17 January, 2022 00:41:30
JonasLagneryd
Topics: 1
Messages: 2
Hi, We are very happy to have come across E2PDF. Right now we are exploring the free version, but will soon go for a paid version. We are developing a whole new website with Wordpress-Divi-Woocommerce, and the launch is planned for the end of February. Till then there are quite a lot to do.
One thing we would like to accomplish is to be able issue personalized (name and product name) certificates based on which product the customer buys. There will be two templates: one for companies and the other for private persons. The personalized certificate should be able for download after the purchase.
Based on the short information I provide here, would you think this will be possible to accomplish.
Kind regards,
Jonas
17 January, 2022 01:48:23
E2Pdf
Support
Topics: 7
Messages: 2850
Hi,

It looks like E2Pdf must fit your needs as you can use [e2pdf-download id="1"] shortcode as File Download URL which can be available after purchase process, where 1 is E2Pdf Template connected to "Products" / "Variations".

You can check some our examples. Products integrated with Formidable Forms and Gravity Forms, however you can use simple products if you will need to output information inside PDF from "Product" or "Order" details, like "First name":

https://demo.e2pdf.com/product/formidable-forms/
https://demo.e2pdf.com/product/gravity-forms/

The only question is how you wish to setup separate certificates for "private" and "company" users. If it will be different products - it must be no any difficulties however if you wish to use same product - it will be need to think about the logic to understand which Template ID must be used for different user types. As a solution it can be used 1 E2Pdf Template however it will have 2 pages (for example) and 1st page will be shown if purchase was made by "private" user and 2nd page will be hidden and if it will be "company" user - it will be hidden 1st page and 2nd page will be shown. It's possible to do with "Actions" and "Conditions". Another possible solution can be to hook the "File Download URL" via PHP while placing order.

We remain at your service.
We would really appreciate your feedback at WordPress.org!
17 January, 2022 02:14:06
JonasLagneryd
Topics: 1
Messages: 2
Sounds great!
There will be different products for Private person and Company. So then there will no issue, right?
We will purchase the paid version and go forward exploring the setup of E2PDF. Best regards, Jonas
17 January, 2022 03:21:36
E2Pdf
Support
Topics: 7
Messages: 2850
Yes, it must not be issues.

P.S. We are currently working on adding documentation for WooCommerce and hope it must be available soon. Meanwhile you must be able to use "Visual Mapper" to see available shortcodes which can be used inside E2Pdf Template depending on connection. "Right Mouse Click" on field -> "Map".

We remain at your service.
We would really appreciate your feedback at WordPress.org!