Problem downloading file - no file present

WooCommerce
30 January, 2024 04:05:40
Daria
Topics: 1
Messages: 4
Hello, we have a shortcode in our products for downloading certificates. When entering the link: [removed]

we receive a message about 'no file present'. The export works correctly, we can see the PDFs, but the shortcode leads to errors.

We use it to generate links on products related with learn press
30 January, 2024 04:12:00
E2Pdf
Support
Topics: 7
Messages: 3346
Hello,

Can you please clarify:

- What is the connection of the E2Pdf Template?

- Which shortcode do you use under the File Download URL?
We would really appreciate your feedback at WordPress.org!
30 January, 2024 04:15:59
Daria
Topics: 1
Messages: 4
Hi,

I am sending our settings in attachments.

[e2pdf-download id="1"]

30 January, 2024 04:46:01
Daria
Topics: 1
Messages: 4
Of course it shows proper connection in debug:

30 January, 2024 05:04:01
E2Pdf
Support
Topics: 7
Messages: 3346
The setup looks correct if the ID of the E2Pdf Template is correct.

Can you please temporarily try to put the shortcode [e2pdf-download id="1"] to the Product description and see if it will generate a PDF URL and it can be opened?
We would really appreciate your feedback at WordPress.org!
30 January, 2024 05:06:40
Daria
Topics: 1
Messages: 4
Yes it works when put in the product page - then this url structure is generated:

[removed]
30 January, 2024 05:20:12
E2Pdf
Support
Topics: 7
Messages: 3346
Odd. The URL is sanitized for some reason. It has amp; instead of &

Can you please enable URL Rewrite at "E2Pdf" -> "Settings" and check if there will be any changes with the WooCommerce product download? Keep please default format.

[removed]
We would really appreciate your feedback at WordPress.org!