I’m trying to force a direct link but it always opens a new tab (Chrome and Firefox).
[wpdm_package id=328 template=”link-template-button.php”]
How do I go about?
Thanks.
]]>I’ve tried call the URL as per the woocommerce page but have no idea how to generate the _wpnonce code, everything I’ve done has come back with ‘not authorised’
/wp-admin/admin-ajax.php?action=generate_wpo_wcpdf&document_type=packing-slip&order_ids=13355&_wpnonce=xxxxxxxxx
Is there a ‘quick fix’ please?
]]>Thanks!
]]>thank you.
Sorry for my bad English
]]>thank you.
]]>I have files that are stored on my Google Drive account (because they are too heavy). Then, I transform the sharing url into a direct download url.
Ex : https://drive.google.com/file/d/FILE_ID/edit?usp=sharing
To : https://drive.google.com/uc?export=download&id=FILE_ID
When I launch the link in my browser i can downloads the file directly.
I inserted this link in my product and now the user can download the file but the name of the file is not taken into account.
For example my file is called “hello.zip”, when the user goes on his account to download the file he gets “uc” file every time.
I tried to download this file because the weight is the same, I renamed this “uc” file into “hello.zip” and it works.
How to fix this problem ?
Thanks
]]>I am using Divi as a theme and defined the class in the button module.
I produced a test page to show you the case.
https://praesenz-web.de/button_test/
The bottom button “Download E-Book” should be the one which should lead to a forced direct download.
The upper button of the plugin should work with the code
[easy_media_download url=”https://praesenz-web.de/wp-content/uploads/2015/05/BiBliO_PraeSenZ_E-Book_Der_Ursprung_der_Probleme.pdf” force_dl=”1″ class=”DL_Ursachen”]
I do not know which further information I could give you to help me, so please ask!
Thanks for an idea…
Best wishes
Ulf