Download not showing in Divi theme

August 16, 2018 09:55:49
martin
Topics: 4
Messages: 15
We are running a membership certification website combined with Woocommerce.
Basically clients renew their annual membership in Woo Commerce and then get sent a pdf certificate.
The current issue is that the shortcode: [e2pdf-download id="1"] does not show in the front end of the theme at all.
Nor does it attach to the Woo Commerce confirmed order email.

However it show in the Formidable confirmation message and is able to download the pdf correctly.
All plugins are disabled except Formidable & E2pdf.
Our Wordpress version is: 4.9.8 and Divi is: Version: 3.12.1 e2pdf version is: Version 0.01.62

Any ideas why this might be?
August 16, 2018 11:09:40
E2Pdf
Topics: 7
Messages: 3621
Support
Hi.

The shortcode that your are trying to use within page can't "understand" which entry to use.

Is your E2Pdf template static or dynamic (with data that filled by user with Formidable Form)?

» If it's static you will need to use shortcode:

[e2pdf-download id="1" dataset="14"] - where 14 the ID of Formidable Entry.

» If you need to show dynamic inputs you will need to use Formidable View with shortcode inside:

[e2pdf-download id="1" dataset="[id]"]

And at page:

[display-frm-data id="322" filter="limited"] - where 322 the ID of View.

Do not forget to set correctly filters according your needs.

Regarding WooCommerce attachment and link inside WooCommerce email - it is need to see how organized the process at your website. But unfortunately it could be need to develop and add custom code to add as attachment until we release module for it.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
August 17, 2018 14:16:45
martin
Topics: 4
Messages: 15
Thank you,
I still get and error, can you perhaps assist according to the screenshot attached?
Kind regards
August 17, 2018 14:31:28
E2Pdf
Topics: 7
Messages: 3621
Support
Your view will show last entry submitted via Form "PDF 1" by current user if you will remove Filter "Entry ID".

The ID of the current last entry is: [id]

So actually this shortcode must work for this current view if you will remove filter by "Entry ID":

[e2pdf-download id="1" dataset="[id]"]

E2Pdf template must be connected to form "PDF 1".

A bit unclear about [167] field. Which information contains [167] field?

We remain at your service.



We would really appreciate your feedback at WordPress.org!
August 17, 2018 20:00:38
martin
Topics: 4
Messages: 15
Thanks a mil, its working perfectly!
[167] is the User ID, but not needed.
I just changed [e2pdf-download id="1" dataset="[167]"] with [e2pdf-download id="1" dataset="[id]"] and removed the Entry ID in the filters.

It would really be nice if the plugin was easier to combine with Woocommerce, this way custom forms can be sold as products.
Thanks for the help.
Kind regards.
August 17, 2018 20:22:25
E2Pdf
Topics: 7
Messages: 3621
Support
Glad to hear that solution worked for you.

We have already WooCommerce in our TODO list. Extension will be published as soon as will be fully ready.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
Get News and Updates
Our monthly newsletter keeps you in the loop, so you'll always be up to date with the latest news and updates about E2Pdf.
* You can update your email subscription preferences here.
All trademarks, service marks, trade names, product names, and logos appearing on this website are the property of their respective owners. The use of trademarks such as Formidable Forms®, Forminator Forms®, Gravity Forms®, JetFormBuilder®, WordPress®, WooCommerce®, WPForms® and others is solely for identification purposes (nominative use) and does not imply any affiliation, sponsorship, or endorsement by the respective trademark holders.
© 2017 - 2026, https://e2pdf.com

We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements. By clicking "Accept Selected", you consent to use of selected cookies according to our Cookie Policy.