[title]
tag. Currently, when a user clicks on the file title, it no longer redirects to the single file page, as intended.
However, we would like to enhance this functionality by making the file titles directly initiate the download when clicked, instead of opening any page. We need assistance in configuring the template to make the file title a direct download link.
Below is the full code from the template we have edited so far:
<!-- WPDM Link Template: Default Template -->
<div class="link-template-default card mb-2">
<div class="card-body">
<div class="media">
<div class="mr-3 img-48">[icon]</div>
<div class="media-body">
<h3 class="package-title">[title]</h3>
<div class="text-muted text-small"><i class="fas fa-copy"></i> [file_count] [txt=file(s)] <i class="fas fa-hdd ml-3"></i> [file_size]</div>
</div>
<div class="ml-3">
[download_link]
</div>
</div>
</div>
</div>
Is there a shortcode or method to achieve the following functionality in WP Download Manager?
We want the file title to directly initiate the download when clicked. If the user is not logged in, clicking the file title should redirect them to the login page instead of showing the single file page.
Could you please let us know if there is a built-in shortcode or a recommended approach to implement this?
Thank you!
]]>I’m trying to grant access to a file to a client after he completed the order by selecting the file under “Downloadable product permissions” in the order page. But I can’t find any files using this field. I just get an error message: “no matches found”. The files were uploaded to the Approved Download Directory.
Thanks.
Many employees here download files from the website, and it logs it every time, which skews the data for prospective customers who download the same files.
Thank you.
]]>We are having an issue with our WooCommerce store.
We sell digital downloads of various file sizes (anywhere from 10 MB to 4 GB), and we often get customers complaining that the downloads crashed mid-way and that they are unable to complete the download process.
It seems the downloads often fail when the file is quite large (for example 1 GB or more). But they don’t fail all the time, so it seems to be dependent on the customers Internet speed (and thus on the duration of the download). Also, after the customer complains, we manually send a direct download link to the file to the customers, and this always works just fine (this means the problem only occurs with the download links generated by WooCommerce).
We use the X-Accel-Redirect/X-Sendfile option in WooCommerce to serve downloads (we want to keep this option to keep the file URLs hidden on our server). Our hosting provider is Cloudways on DigitalOcean (4GB ram).
Has anyone been able to solve this issue? Is it a matter of changing the configuration of PHP on the server, or do we just need to increase our server CPU or RAM?
Thanks!
]]>It must be a setting I’m missing? Surely customers can come back and use the same email. Anyone?
]]>A customer wants us to enable access to downloads as soon as the order goes “on-hold” since all of the downloads are free. Usually if the order only contains free products the download links are available instantly. Whereas if there’s even a single product that costs let’s say 1$ – you’ll have to wait for the links until someone sets the order status to “processing”.
Is there a way to get around this? Even if it means simply automatically setting every order to “processing”/”complete”?
I have rather good knowledge in PHP and the WordPress environment – yet have to get used to how WooCommerce handles certain things.
Thank you very much for your help in advance! If I need to specify anything more – let me know!
]]>Using the [downloads] shortcode, is it possible to display not just the download title list with link, but also include either some description or short_description excerpt with each title as well?
Thanks in advance for your guidance.
]]>