Thanks Eftekher, that is not the email I was meaning. There is no problem with the Paypal transaction – it gets charged and both me and the customer get notified by Paypal.
However customers are telling me that they are not able to access the URL to download the file they just paid for. At first I thought they were not receiving the email with the link but I have just found out that they are. The problem is that my guest purchases page was not set up properly so the customers are unable to access the download link or register. For now I have turned off guest checkout and guest download.
Is there a document that explains how to set up the guest purchases page?
Hello,
I don’t want to show the download count on my post but I can’t find the option to remove it. I’m talking about the page that shows on links like these: http://www.mydomain.com/download/filetodownload
I don’t want to visitors to see how many times it’s been downloaded.
Hi,
Please add this in your shortcode: cols="page_link,file_count,download_count|categories|update_date|download_link"
Example:
[wpdm-all-packages items_per_page="10" cols="page_link,file_count,download_count|categories|update_date|download_link" categories="product-rubber-black" jstable=1 order="ASC"]
Thank you.
Hello,
Now that the Polylang plugin is disabled, the table is displaying fine by using the following shortcode:
[wpdm-all-packages items_per_page=”10″ categories=”product-rubber-black” jstable=1 order=”ASC”]
But, earlier each item in the table was hyperlinked to the individual download page. Which means each item could be clicked to open a download page for that particular package/item. But now the hyperlinks are gone. The individual package/item pages can not be accessed.
Please refer to the attached image.
Thanks.
Hi,
To get messages via paypal, you need to enable IPN.
To set IPN please follow this link:
How to enable IPN
Thank you
Hi,
1. Please update your Download Manager plugin. Then go to Downloads>Settings>Frontend
and select login and registration page. (Screenshot: https://prnt.sc/jud9cg )
2. You can use W3 Total Cache plugin. Link: https://wordpress.org/plugins/w3-total-cache/
3. You can renew the license by clicking “Renew Now” button from your orders.
(Screenshot: https://prnt.sc/jud751 )
4. Please update your Download Manager plugin.
Thank you.
Hi,
This is a php code, you should implement the code in a php file where you are performing your Download now option.
You cannot use this code in a javascript code .
If you are using download link of Download Manager you don’t have to implement it separately , Download Manager by default implements it.
Thank you.
Thanks! I am try to use the code in page template, but it’s not work.
Where is wrong?
<a href="[acf field='official-link']" class="btn btn-info btn-lg" onclick="wpdm_custom_url_click()">Download Now</a>
<script>
function wpdm_custom_url_click(){
$Download_count = get_post_meta([ID], '__wpdm_download_count',true);
update_post_meta([ID],'__wpdm_download_count', $Download_count+1 );
}
</script>
Hi there, I’ve set up some paid downloads on my site using Paypal. When I do a test purchase using Test Pay, I receive an email with the subject “Thanks for your purchase”. This directs me to the URL with the download link. But when I get orders via Paypal, the customer is not receiving this email and I am not receiving a copy of this email. What am I doing wrong?
I’m trying to configure the role based restriction to certain files.
I want to make all files visible to registered users, and certain files to a specific role.
I can’t even restrict the visibility to registered users only. Take a look on my first attachment.
If I click the download link, I can get the file, even if I’m not authenticated. I put the download link in my page with his shortcode – [wpdm_package id='1443'].
Take a look at my second attachment to see how the package is configured.
Expected behavior is: click on download should download the attachment for authenticated users; non-authenticated users should be redirected to login page.
How can I do this?
Wait for an aswer (quick if it’s possible).
TIA
Gianluca
This reply has been marked as private.
Please add the following code to your theme’s functions.php file and use [wpdm_download_tags cols="4" icon="tag" btnstyle="default"]
shortcode to show the custom download tag created by the code I posted above.
add_shortcode( 'wpdm_download_tags', 'wpdm_download_tags');
function wpdm_download_tags($params = array()){
global $wpdb;
@extract($params);
$parent = isset($parent)?$parent:0;
$args = array(
'orderby' ► 'name',
'order' ► 'ASC',
'hide_empty' ► false,
'exclude' ► array(),
'exclude_tree' ► array(),
'include' ► array(),
'number' ► '',
'fields' ► 'all',
'slug' ► '',
'parent' ► $parent,
'hierarchical' ► true,
'child_of' ► 0,
'get' ► '',
'name__like' ► '',
'pad_counts' ► false,
'offset' ► '',
'search' ► '',
'cache_domain' ► 'core'
);
$categories = get_terms('download-tag',$args);
$pluginsurl = plugins_url();
$cols = isset($cols)&&$cols>0?$cols:2;
$scols = intval(12/$cols);
$icon = isset($icon)?"":"";
$btnstyle = isset($btnstyle)?$btnstyle:'success';
$k = 0;
$html = "";
foreach($categories as $id►$category){
$catlink = get_term_link($category);
if($category->parent==$parent) {
$ccount = $category->count;
if(isset($showcount)&&$showcount) $count = " ($ccount)";
$html .= "";
$k++;
}
}
$html .= "
";
if($k==0) $html = '';
return "".str_replace(array("\r","\n"),"",$html)."
";
}
Yes, you can hide or show any package info you want using a custom link template. You can create custom link template from Dashboard Downloads Templates page.
Related documentation: https://www.wpdownloadmanager.com/doc/templates/creating-a-new-template/
Please read more about custom templates here https://www.wpdownloadmanager.com/building-a-wordpress-download-manager-link-template-from-scratch/
This reply has been marked as private.
Confirmed! All good on this side:
– All plugins updated
– Purchased downloads are stamped correctly
– No link-expired.txt files
Woohoo! Here’s hoping we never have to go back to that place, lol.
Have a great rest of the week, thanks again.
Scott
Thanks Fahim for your reply.
I think there are more issues with the Centric template. For example, the download link is missing and the widgets in the sidebar don’t show up. I will try a different template for this test.
Oh, got it now. The issue was related to the link_template
parameter in wpdm_packages
shortcode. The correct parameter should be template
I have updated the homepage shortcode. Now download link is linked to the package details page.
Hi,
To change download link to a pretty button, please use:
WPDM Image Button
You may use some custom CSS to removed button style from tag.
Thank you, I’ve modified the code.
Similar to this question: in the link template builder, or page template builder, I’ve the template variables.
E. G.
<div>[categories]</div>
<div>[description]</div>
<div>[tags]</div>
How can I remove button for tag and add button for download link?
In which file is the .css pull right class?
<div class="pull-right" align="right">
[download_link_popup]
</div>
1 ) This page restriction is coming from some other plugin. Archive Page doesn’t have any feature that blocks the page. Please try deactivating your access control plugins or check related settings.
2 ) I have modified the plugin to open package details in a new tab when clicking the view details ( aps-content-cat.php line 66 )
3 ) Added the download count with category name ( archive-page-with-sidebar.php line 34 )
4 ) Changed the link template to link-template-panel-1-3
to show packages in 3 columns.
This reply has been marked as private.
The only difference I noticed is the download button. In frontend, the link template has a red download button which is coming from WPDM Image Button add-on. You have to disable the add-on if you want just text instead of a button.
Looks like there is an issue with the order when shortcode is placed in the homepage. We are checking it and will add necessary patch in next release. For now please disable the toolbar using toolbar=0
parameter.
This reply has been marked as private.
This reply has been marked as private.