I need to make a connection between elementor form entry data and woocommerce. After a form has been filled in, a pdf is generated and I want to sell that pdf thourgh woocommerce.
Budget: €25 – €75 EUR
Hi there!
I am using wordpress and I need to make a connection between elementor form entry data and woocommerce. After a form has been filled in, a pdf is generated and I want to sell that pdf thourgh woocommerce.
I am using the elementor page builder. I built a form and a template page. Based on the form entry, the template page is filled in and from this using the e-addons pdf generator, a new pdf is generated and saved in the media library. I can save the name of the pdf file as the name field that is filled in the form. This all works, but the next step is that I want to add this pdf as a dowloadable product in woocommerce and sell it. This step is where I need help with. Either by automatically editing the file path of a current product or automatically creating a new product with the URL of the newly created pdf. In the file path or file name I wanted to use for example the name of the customer (based on the form entry field 'name'). The download link should not show directly after the form, because a customer first needs to be redirected to the checkout page and pay. So I need a download link to the new pdf after a customer paid for it. Do you think another plugin instead of woocommerce would be better? Can I use a webhook to do this? I hope this description makes sense. Please don't hesitate to ask for clarification. I have no experience with coding, but I am trying to find a solution by using a webhook in my functions.php file. If another solution would make more sense then that is also fine.
I am using wordpress and I need to make a connection between elementor form entry data and woocommerce. After a form has been filled in, a pdf is generated and I want to sell that pdf thourgh woocommerce.
I am using the elementor page builder. I built a form and a template page. Based on the form entry, the template page is filled in and from this using the e-addons pdf generator, a new pdf is generated and saved in the media library. I can save the name of the pdf file as the name field that is filled in the form. This all works, but the next step is that I want to add this pdf as a dowloadable product in woocommerce and sell it. This step is where I need help with. Either by automatically editing the file path of a current product or automatically creating a new product with the URL of the newly created pdf. In the file path or file name I wanted to use for example the name of the customer (based on the form entry field 'name'). The download link should not show directly after the form, because a customer first needs to be redirected to the checkout page and pay. So I need a download link to the new pdf after a customer paid for it. Do you think another plugin instead of woocommerce would be better? Can I use a webhook to do this? I hope this description makes sense. Please don't hesitate to ask for clarification. I have no experience with coding, but I am trying to find a solution by using a webhook in my functions.php file. If another solution would make more sense then that is also fine.