Hello,
Please advise if it is possible to use the download package link like: “https://www.foo.com?wpdmdl=19826&ind=1626767330182” as the digital product file link in Woocommerce when selling a downloadable product.
I tried to use it but customer gets the error “File not found Go to shop” when trying to download the purchased digital product.
Regards
When I use….
[wpdm_search_result init=0 template="link-template-default" cols=1]
and input a search word to text box…..I get….
Warning: Division by zero in /home/customer/www/(my website).info/public_html/wp-content/plugins/download-manager/src/Package/Shortcodes.php on line 239
It used to work fine if I roll back 1 month but… now not. Everything is updated.
I emailed in my login details. Please could you take a look and let me know what’s up ?
Thanks
More background on this issue. We are using shortcodes in Elementor to render lists of downloads based upon category. The pagination setting “items_per_page” used to be “item_per_page”. I don’t know if this is a recent change or if our developer fat-fingered the setting and it has always just worked.
The second thing we found was that the template setting seems to work with link templates, but not page templates. This appears to be a change from previous versions.
This is eventually what we were able to get working. The template is a very slightly modified version of the “link-template-default-icon” link template.
[wpdm_category id="bss-primary-downloads" operator="IN" toolbar="1" order_by="field name" order="asc or desc" items_per_page="10" template="link_default_icon_custom" cols=1 colspad=2 colsphone=1]
Hello @misterspok,
Hope you are well. For #1, Yes, it is possible, you can customize the email template from the Downloads > Templates > Email Templates > Email Lock Notification
as I image attached here,

And for #2, For now, the download link will be available for the Customer who will fill up the Email lock form with an email, however, there is also available an option for getting the information about who has downloaded the package, from Downloads > Subscriber > Email Lock
section as I image attached,

I hope these options may help you
Thank you and regards
This reply has been marked as private.
Hello,
We are using the latest version of WP Download Manager and WordPress. We get the following HTTP 500 error on our site on pages with WPDM:
Fatal error: Uncaught Error: Call to undefined method WPDM\Package\PackageLocks::AskEmail() in /www/wp-content/plugins/download-manager/src/Package/PackageController.php:1030 Stack trace: #0 /www/wp-content/plugins/download-manager/src/Package/PackageController.php(274): WPDM\Package\PackageController::activeLocks(5375, Array) #1 /www/wp-content/plugins/download-manager/src/Package/PackageController.php(1442): WPDM\Package\PackageController->prepare(5375, ‘link-template-d…’, ‘link’) #2 /www/wp-content/plugins/download-manager/src/Package/Shortcodes.php(62): WPDM\Package\PackageController->fetchTemplate(‘link-template-d…’, Array, ‘link’) #3 /wordpress/wp-includes/shortcodes.php(343): WPDM\Package\Shortcodes->singlePackage(Array, ”, ‘wpdm_package’) #4 [internal function]: do_shortcode_tag(Array) #5 /wordpress/wp-includes/shortcodes.php(218): preg_replace_callback(‘/\\[(\\[?)(wpdm_p…’, ‘do_shortcode_ta…’, ‘
Here are links to the pages:
https://www.hpdarch.com/firm-profile/speaking-engagements/
https://www.hpdarch.com/download/presentation-topics-for-realtors/
Please assist in troubleshooting this.
Hi @ikram_dirujii,
Please use this Pastebin code,
https://pastebin.com/WTZ1KAaT
I have added the below lines download-manager\src\Package\views\all-packages-shortcode.php
file in line number 288
$data['download_link'] = "<a target='_blank' class='btn btn-primary' href='".get_permalink($data['ID'])."'>"."Download"."</a>";
$download_link = $data['download_link'];
commenting out this line
//$data['download_link'] = WPDM()->package->downloadLink($data['ID'], 0, array('template_type' ► 'link'));
I hope it should open a new tab for the related packages
and for making back up the file for the next update, please follow this doc, https://www.wpdownloadmanager.com/doc/template-files/
thank you and regards
This reply has been marked as private.
Hi
I have the latest versions:
Download Manager: 6.0.4
WPDM – Extended Short-codes: 2.9.0
It is since updating to these versions the download link has stopped working.
Any other ideas?
This reply has been marked as private.
Hi
Following the update to 6.0.4 this morning my links that open a file download in a pop-up have stopped working.
It seems to be causing a Jquery 500 error.
Any ideas why or how to solve this?
I will send you a link to check it in a private message
Hello,
I see visiting that link you provided is automatically showing all downloads and you dont need to press home.
However you can try different parameters from here like categories
of shortcode to show:
Hello,
You can make a private page or page to specific user roles in wordpress you can send the page link to direct audience.
or You can check this addon to assign specific users:
Advanced Access Control
This reply has been marked as private.
View post on imgur.com
i wanted to hide that user manual I don’t wan to let people see it. especially the public.
Customers will be given a direct link to download the user manual. Audience who are not selected to see will not see this file in the download manager is there a way to hide it?
This reply has been marked as private.
This reply has been marked as private.
This reply has been marked as private.
Hello,
Sorry for the inconvenience.
Please use link-template id instead of page template ID in the shortcode section by following this.
You can obtain a link template ID by following this.
More details about the shortcode can be found here.
Thank you
Hello @hdebeuf,
Hi @proudbrands,
Sorry for the inconvenience.
If you are using the latest version of WPDM Directory Add-on then please follow this in order to use the latest updated shortcode.
Example correct shortcode: [wpdm_archive button_style=”default” template=”link-template-default-ext” cols=”1″ items_per_page=”10″ order=”asc”]
Hope your problem will be solved now.
Thank you
Hello @naughtycocktailparties/,
Hope you are well.
If you are using the latest version of the WPDM Directory Add-on then please use the latest shortcode by following this.
You are using an older shortcode that’s why it’s showing like that.
The correct shortcode should be like the below now.
[wpdm_archive button_style="default" template="link-template-default" cols=1 items_per_page="9" orderby="title" order="ASC]
Hope you understand now.
Thank you
Yesterday, 07/15/21, my archive page for my download center completely stopped working on the website and just shows the code. This is the code that I’ve been using since I purchased this plugin. I’ve tried updating it to the codes listed on your website, but none seem to be working. What can I do to fix this to get my downloads live again?
[wpdm-archive button_style=”inverse” link_template=”default” order_by=”post_title” order=”asc” items_per_page=”9″ cat_view=”compact” cols=1]
This reply has been marked as private.
This reply has been marked as private.
Hi @trikdis
Hope you are well. if you are searching for link-template/page-template
, please check this directory
plugins\download-manager\src\Package\views
I hope it will help you
Thank you